Skip to main content
POST
/
api
/
v0
/
service-accounts
/
{serviceAccountId}
/
api-keys
/
{keyId}
/
revoke
Revoke a service account API key
curl --request POST \
  --url https://api.factory.ai/api/v0/service-accounts/{serviceAccountId}/api-keys/{keyId}/revoke \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Factory API key or JWT token for authentication

Path Parameters

serviceAccountId
string
required

Service account ID

Minimum string length: 1
keyId
string
required

API key ID

Minimum string length: 1

Response

Response for status 204

The response is of type object.