API reference
POSTRequires Bearer token
Revoke a company external identity
/api/v1/companies/{company}/external-identities/{identity}/revoke
Company-admin.
Path parameters
| Field | Type | Description |
|---|---|---|
company Required | string | Path parameter company. |
identity Required | string | Path parameter identity. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
reason Required | string | Revocation reason (required, max 500). e.g. "Left the organisation" |
Responses
| Status | Meaning |
|---|---|
| 200 | Identity revoked |
| 401 | Missing or invalid Bearer token. |