v1 auth keys

Revoke an API key

Revoke (delete) an API key for the authenticated user.

This endpoint:
- Validates the current API key authentication
- Revokes the specified API key (if it belongs to the user)
- Returns confirmation of revocation

**Authentication**: Requires valid API key in Authorization header
delete/v1/auth/keys/{api_key_id}

Path parameters

api_key_idstring required

Response

Successful Response

successboolean

Indicates successful revocation

messagestring required

Confirmation message

Changes

Changed in 2 of the 29 revisions of this API.13

    • added the optional property details to the response with the 400 status

      response-optional-property-added

    • added the optional property details to the response with the 401 status

      response-optional-property-added

    • added the optional property details to the response with the 404 status

      response-optional-property-added

    • added the optional property details to the response with the 500 status

      response-optional-property-added

    • added the optional property request_id to the response with the 400 status

      response-optional-property-added

    • added the optional property request_id to the response with the 401 status

      response-optional-property-added

    • added the optional property request_id to the response with the 404 status

      response-optional-property-added

    • added the optional property request_id to the response with the 500 status

      response-optional-property-added

    • added the required property error_code to the response with the 400 status

      response-required-property-added

    • added the required property error_code to the response with the 401 status

      response-required-property-added

    • added the required property error_code to the response with the 404 status

      response-required-property-added

    • added the required property error_code to the response with the 500 status

      response-required-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog