Note: The response does not contain the encrypted portion of the key. See Decrypt User API Key
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = 'https://console.automox.com/api/users/{98765}/api_keys/999999?o=0000' $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/json").Content
{- "id": 0,
- "name": "string",
- "is_enabled": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "id": 0,
- "firstname": "string",
- "lastname": "string",
- "email": "user@example.com"
}
}