Service Accounts

Revoke a service account API key

Revokes an API key for a service account. Once revoked, the key can no longer authenticate. Idempotent.

post/api/v0/service-accounts/{serviceAccountId}/api-keys/{keyId}/revoke

Request

  • Base URL: https://api.factory.ai
  • URL: https://api.factory.ai/api/v0/service-accounts/{serviceAccountId}/api-keys/{keyId}/revoke
  • Auth: HTTP bearer

Path parameters

serviceAccountIdstring required

Service account ID

keyIdstring required

API key ID

Response

Response for status 204

RevokeServiceAccountApiKey204ResponseBody required

Changes

No recorded changes to this operation across all 50 revisions of this API.