Enable or disable an API key for a given user, in a given organization. See Using Global API Keys for more information on permission and scope requirements.
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
{- "is_enabled": true
}
{- "summary": "API key collection example",
- "description": "Example response for retrieving API keys, including pagination information and user details",
- "value": {
- "results": [
- {
- "id": 98765,
- "name": "Jane",
- "is_enabled": true,
- "expires_at": null,
- "created_at": "2023-04-20T15:46:56+0000",
- "user": {
- "id": 65432,
- "firstname": "Jane",
- "lastname": "Doe",
- "email": "jane.doe@example.com"
}
}
], - "size": 1
}
}