AdminApi
Deactivate a developer key as an admin
Changed onDeactivate a developer key so it can no longer authenticate API requests. Deactivation is permanent: create a new key to restore access. Requires an Admin API key.
put/v2/admin/developer-keys/deactivate
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v2/admin/developer-keys/deactivate
- AuthAPI key in header Authorization
Request body
Example request
{
"key_id": "ca7d5694-96eb-4263-a9a4-7f7e4211529e:20c2abcf-4c3c-4cd6-8ae8-8bd2a7d4da38"
}Response
The deactivate function returns a JSON representation of the deactivated API key.
Example response
{
"key_id": "ca7d5694-96eb-4263-a9a4-7f7e4211529e:20c2abcf-4c3c-4cd6-8ae8-8bd2a7d4da38",
"label": "developer key prod",
"creation_time": "2025-07-08T08:15:29.362Z",
"deactivated_time": "2025-07-09T08:15:29.362Z",
"is_deactivated": true,
"usage_limits": {
"characters": 5000,
"speech_to_text_milliseconds": 3600000,
"speech_to_speech_milliseconds": 3600000
}
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the optional property
/to the response with the status
- info