Revoke an API key owned by the current member
Reference for DELETE /api/v1/me/api-keys/{keyId}.
DELETE /api/v1/me/api-keys/{keyId}
Reference for DELETE /api/v1/me/api-keys/{keyId}.
Authentication
Pass a Fluxmail member session as a bearer token. API keys cannot use this endpoint.
Request
curl 'http://localhost:8977/api/v1/me/api-keys/keyId_123' \
-X DELETE \
-H "Authorization: Bearer $FLUXMAIL_SESSION"Parameters
| Name | Location | Required | Type | Details |
|---|---|---|---|---|
keyId | path | Yes | string | Minimum length: 1. |
Responses
| Status | Description | Content type |
|---|---|---|
200 | Success | application/json |
400 | Invalid request | application/json |
401 | Authentication required | application/json |
403 | Permission denied | application/json |
404 | Not found | application/json |
409 | Conflict | application/json |
413 | Request body too large | application/json |
429 | Too many attempts | application/json |
200 response
{
"type": "object",
"properties": {
"data": {
"nullable": true
}
}
}Last updated