v2

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-26192307950.1 KB
service_accounts
api_keys

Update Api Key

Updates an API key for a service account.

Args: service_account_id: ID of the service account to which the API key belongs. api_key_name_or_id: Name or ID of the API key to update. api_key_update: API key update.

Returns: The updated API key.

put/api/v1/service_accounts/{service_account_id}/api_keys/{api_key_name_or_id}

Path parameters

service_account_idstring uuid required
string required
OR
string uuid required

Request body

namestring nullable
descriptionstring nullable
activeboolean nullable

Response

Successful Response

resourcesAPIKeyResponseResources

Class for all resource models associated with the APIKey entity.

idstring uuid required
permission_deniedboolean
namestring required