# RevokedResult

The RevokedResult type of the TypeScript SDK, which apiKeys.revoke and credentials.revoke take or answer.

```ts
type RevokedResult = {
  revoked: boolean
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `revoked` | `boolean` | True if the key or credential was successfully revoked |

## Used by

| Method | What it does |
| --- | --- |
| [`apiKeys.revoke`](/docs/sdks/typescript/api-keys/revoke) | Revoke an API key |
| [`credentials.revoke`](/docs/sdks/typescript/credentials/revoke) | Revoke a mailbox credential |
