Skip to main content

rotateApiKeySecret

Replaces the client secret of an API key. The previous secret stops working immediately. The new secret is returned exactly once. Only the tenant administrator can trigger this action.

Requires authorization features: api_key:core:manage

rotateApiKeySecret(
input: RotateApiKeySecretInput!
): RotateApiKeySecretPayload!

Directives​

auth​

Requires authorization features: api_key:core:manage

Arguments​

rotateApiKeySecret.input ● RotateApiKeySecretInput! non-null input​

Type​

RotateApiKeySecretPayload object​

Payload returned by the rotateApiKeySecret mutation.