> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# roark credential revoke

> Revoke one of your personal credentials

Revokes a credential that acts as you. It stops working immediately. A credential may revoke itself, which is what `roark auth logout` does. Repeating the call is safe; an unknown id, or one belonging to someone else, answers 404.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark credential revoke <credential-id> [options]
```

> [!NOTE]
>
> Calls `DELETE /v1/me/api-keys/{id}`

## Arguments

**credential-id** `string` *required*

The credential-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark credential revoke <credential-id>
```

Every command also takes the [global options](/cli-reference/overview.md#global-options) and sets one
of the [exit codes](/cli-reference/overview.md#exit-codes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.