service_accounts
Create service account API key
Creates a new long-lived API key for a service account. The full key value is only returned once at creation. API keys can have optional expiration dates.
post/service_accounts/{clientId}/api_keys
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesapiKey:write
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
successful operation
Example response
{
"expires_in": "30d",
"id": "ak_abc123def456",
"name": "CI/CD Pipeline Key",
"sub_type": "user"
}Changes
No recorded changes to this operation across all 1 revision of this API.