Set a service account's status.
Enable or disable a service account. Disabling stops all of its API keys from authenticating, usually immediately; allow up to 5 minutes for it to take full effect (up to 10 minutes with multi-application trace routing). Enabling restores the keys whose own status is active. A key’s own status is never changed, so a key disabled on its own stays disabled when the account is re-enabled. Setting the status it already has is a no-op that still returns 200 and clears the account’s keys from the auth cache again.
An account Fiddler manages for a model deployment can be disabled, for example to stop a leaked key. While it is disabled, the model cannot start new copies of itself, because they load the model with this account’s key. Updating the model’s artifact or surrogate enables the account again, issues a new key, and revokes the old ones; changing deployment settings such as replicas, or deactivating and reactivating the model, does not.
Returns 404 if the account is not in the caller’s organization, and 409 if the request sets active on an account Fiddler manages for a model deployment, even one that is already active.
Authorizations
Body
Response
The updated service account.
Response object for standard API responses.