Decrypt an API key

This endpoint allows you to decrypt the API key for an authenticated user.

post
/users/{userid}/api_keys/{id}/decrypt

https://console.automox.com/api/users/{userid}/api_keys/{id}/decrypt
Request
Response
Request
Path Parameters
userid
required
string
The ID of the user to decrypt keys for.
Headers
Authorization: Bearer
required
string
Your Automox API key for authentication. Format: Authorization: Bearer your_automox_api_key
Content-Type: application/json
optional
string
Specify json as the content type
Query Parameters
o
required
integer
The Organization whose keys you want to decrypt.
Response
200: OK
{
"type": "object",
"properties": {
"api_key": {
"type": "string"
}
}
}