List API Keys
GET/organizations/:organizationId/api-keys
List all API keys for the organization. Note: The key hash/secret is NEVER returned - only the prefix for identification.
Request
Path Parameters
organizationId stringrequired
Organization ID
Query Parameters
includeRevoked boolean
Default value: false
Whether to include revoked keys
Responses
- 200
- 401
- 403
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
data object[]required
Array of API keys
{
"data": [
{}
]
}
{}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
Loading...
Was this page helpful?