curl --request GET \
--url https://api.blaxel.ai/v0/service_accounts/{clientId}/api_keys \
--header 'Authorization: Bearer <token>'
[
{
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"apiKey": "<string>",
"expires_in": "<string>",
"id": "<string>",
"name": "<string>",
"sub": "<string>",
"sub_type": "<string>"
}
]
Returns a list of all API keys for a service account.
curl --request GET \
--url https://api.blaxel.ai/v0/service_accounts/{clientId}/api_keys \
--header 'Authorization: Bearer <token>'
[
{
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"apiKey": "<string>",
"expires_in": "<string>",
"id": "<string>",
"name": "<string>",
"sub": "<string>",
"sub_type": "<string>"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Client ID
successful operation
The response is of type object[]
.
Was this page helpful?