POST
/
api
/
v1
/
auth
/
universal-auth
/
identities
/
{identityId}
/
client-secrets
/
{clientSecretId}
/
revoke
curl --request POST \
  --url https://app.infisical.com/api/v1/auth/universal-auth/identities/{identityId}/client-secrets/{clientSecretId}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "clientSecretData": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "clientSecretPrefix": "<string>",
    "clientSecretNumUses": 0,
    "clientSecretNumUsesLimit": 0,
    "clientSecretTTL": 0,
    "identityUAId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "isClientSecretRevoked": false
  }
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

identityId
string
required

The ID of the identity to revoke the client secret from.

clientSecretId
string
required

The ID of the client secret to revoke.

Response

200 - application/json
Default Response
clientSecretData
object
required