Set a service-account API key's status.
Enable or disable a service account’s API key. A status change usually takes effect immediately. Allow up to 5 minutes for a disable to take full effect (up to 10 minutes with multi-application trace routing), because a request in progress when you disable the key can briefly cache it as active. Key and account statuses are independent — a key disabled on its own stays disabled when the account is re-enabled, and a key authenticates only while both it and its account are active. Setting the status it already has is a no-op that still returns 200 and clears the key from the auth cache again. Returns 404 if the account is not in the caller’s organization or the key does not belong to it, 409 if the account is managed by Fiddler for a model deployment, and 422 if the key has expired (an expired key can only be revoked).
Authorizations
Path Parameters
Body
Response
The updated API key.