Revoking a token¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as DELETE to the path /admin/v1/gateways/{gateway_id}/tokens/{token_id}.
Description¶
Revocation is immediate. Subsequent inference requests with this token return 401.
Request¶
The following parameters are available:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
gateway_id |
path | string |
yes | ID of the gateway. |
token_id |
path | string |
yes | ID of the token. |
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Operation succeeded. |