Skip to main content
Identities

Disable an identity

Disable a Forward Identity.

POST /api/v1/forward/identities/{identity_id}/disable

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
identity_idstringYesForward Identity ID.

Example response

HTTP 200 OK
{
  "id": "idn_019eabc123",
  "enabled": false
}

Response fields

FieldTypeDescription
idstringIdentity ID.
enabledbooleanState after the operation. Always false.

Errors

HTTPTypeCodeTrigger
401authentication_errorauthentication_requiredThe PAT or SAT is invalid, expired, or missing.
404not_found_error-The Identity does not exist or is not visible to the caller.
409conflict_errorADMIN_IDENTITY_READ_ONLYThe target is the Admin Identity.

Notes

After the Identity is disabled, operations that require an enabled Identity cannot be performed.