# Revoke a service token

`DELETE /api/tokens/{id}` · Praecise account · Service tokens

Revoking a token that is already revoked is not an error.

## Parameters

- `id` (path, required), string

## Responses

- `204`: Revoked.
- `401`: Nobody is signed in.
- `403`: A service token was presented. Tokens are managed by a signed-in person, not by another token.
- `404`: No such token on this account.

## Example

```sh
curl -X DELETE 'https://accounts.praecise.com/api/tokens/{id}' \
  -H 'Authorization: Bearer $KEY'
```
