This endpoint allows you to decrypt the API key for an authenticated user. See Using Global API Keys for more information on permission and scope requirements.
Successful Operation
Invalid Request
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = 'https://console.automox.com/api/users/{98765}/api_keys/999999/decrypt?o=0000' $response = (Invoke-WebRequest -Method Post -Uri $url -Headers $headers -ContentType "application/json").Content
{- "api_key": "string"
}