# Auth user deactivation

Notification that an auth user has been deactivated.

Endpoint: POST /auth/users/user_deactivated/watch
Version: v2

## Header parameters:

  - `call-ref` (string)
    A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255

  - `published-timestamp` (integer, required)
    The timestamp, expressed in Epoch timestamp using millisecond precision, when this event was published.

  - `signature` (string, required)
    The signature to verify the authenticity of this request.  This is the base64 hash (HmacSHA256) of the `published-timestamp` using your API key.

  - `signature-v2` (string, required)
    The signature to verify the authenticity of this request.  This is the base64 hash (HmacSHA256) of the `call-ref + payload + published-timestamp` using your API key.

## Request fields (application/json):

  - `actionDoneBy` (string, required)
    Enum: "UNDEFINED", "ADMIN", "INNOVATOR"

  - `emailAddress` (string, required)

  - `reasonCode` (string, required)
    Enum: "UNDEFINED_REASON", "ACCOUNT_REVIEW", "ACCOUNT_SECURITY", "TEMPORARY", "ACCOUNT_CLOSURE", "ACCOUNT_ABANDONED"

  - `corporateKybStatus` (string)
    Enum: "NEW", "PENDING", "APPROVED", "REJECTED", "CLOSED"

  - `kybRuns` (array)
    The latest KYB Run per regulatory FI. Only populated for corporates.

  - `kybRuns.id` (string)
    Id of the KYB Run.

  - `kybRuns.regulatoryFi` (string)
    The regulatory FI the run verifies the corporate against.

  - `kybRuns.status` (string)
    Enum: "COLLECTION.NOT_STARTED", "COLLECTION.READY_TO_START", "COLLECTION.IN_PROGRESS", "REVIEW.IN_PROGRESS", "RESUBMISSION.IN_PROGRESS", "KYB_RUN.APPROVED", "KYB_RUN.REJECTED", "KYB_RUN.CANCELLED"

  - `kybRuns.runType` (string)
    Enum: "INITIAL_ONBOARDING", "REFRESH"

  - `kybRuns.startedTimestamp` (string)
    Epoch timestamp using millisecond precision.

  - `kybRuns.endedTimestamp` (string)
    Epoch timestamp using millisecond precision. Absent while the run is open.

  - `kybRuns.notes` (string)
    Compliance note attached to the run.

