v2

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

Rotate Api Key

Rotate an API key.

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 rotate. rotate_request: API key rotation request.

Returns: The updated API key.

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

Path parameters

service_account_idstring uuid required
string required
OR
string uuid required

Request body

retain_period_minutesinteger

Response

Successful Response

resourcesAPIKeyResponseResources

Class for all resource models associated with the APIKey entity.

idstring uuid required
permission_deniedboolean
namestring required