Skip to main content
Identities

Delete an identity

Delete a Forward Identity.

DELETE /api/v1/forward/identities/{identity_id} After deletion, the Identity cannot be used to create sessions or perform other operations that require a valid Identity.

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
identity_idstringYesForward Identity ID.

Example request

curl -s -X DELETE 'https://api.qoder.com/api/v1/forward/identities/idn_019eabc123' \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

Example response

HTTP 200 OK
{
  "id": "idn_019eabc123",
  "deleted": true
}

Response fields

FieldTypeDescription
idstringDeleted Identity ID.
deletedbooleanWhether deletion is complete. A successful response returns true.

Errors

HTTPTypeCodeTrigger
401authentication_errorauthentication_requiredThe PAT or SAT is invalid or expired.
404not_found_error-The Identity does not exist or is not visible to the caller.
409conflict_error-The Identity cannot be deleted in its current state.

Notes

  • A deleted Identity cannot be used to create new sessions.
  • Historical sessions, events, and audit records are not affected by this operation.