Skip to content

Withdraw an application's access

DELETE
/v1/oauth/clients/{client_id}/authorization
curl --request DELETE \
--url https://api.adversarial.com/api/v1/oauth/clients/example/authorization \
--cookie arm-session=<arm-session>

Revokes a previously granted authorization and invalidates the tokens issued under it. The application must be authorized again before it can access the account. Withdrawing another member’s authorization requires organization management permission.

client_id
required
string

The application’s public client ID

user_id
string | null format: uuid

Target user whose authorization is being revoked. Defaults to the caller. When different from the caller, requires ORGANIZATION_MANAGE.

Authorization revoked

Unauthorized

Forbidden

Client not found or no active authorization for target user