APIApi keys

Delete an API key

Deletes the specified API key. The key will no longer be valid after deletion.

Deletes the specified API key. The key will no longer be valid after deletion.

DELETE
/api/client/account/api-keys/{identifier}

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API token in the format: Bearer {token}

In: header

Path Parameters

identifier*string

The unique identifier of the API key to delete

Response Body

application/json

curl -X DELETE "https://example.com/api/client/account/api-keys/ptlc_1a2b3c4d5e6f"
Empty
Empty
{
  "message": "No query results for model [Pterodactyl\\\\Models\\\\ApiKey]."
}