PATCH
/
v1
/
users
/
{uid}
/
merge
curl --request PATCH \
  --url https://api.siit.io/v1/users/{uid}/merge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_uid": "<string>"
}'
{
  "result": {
    "uid": "<string>",
    "emails": [
      "<string>"
    ],
    "role_name": "owner",
    "status": "employee",
    "full_name": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "slack_user_id": "<string>",
    "department_uid": "<string>",
    "office_location_uid": "<string>",
    "legal_entity_uid": "<string>",
    "team_uids": [
      "<string>"
    ],
    "hire_date": "2023-12-25",
    "job_start_date": "2023-12-25",
    "job_leave_date": "2023-12-25",
    "gender": "female",
    "job_title": "<string>",
    "preferred_language": "<string>",
    "report_to_uid": "<string>",
    "timezone": "<string>",
    "work_phone": "<string>",
    "microsoft_entra_ids": [
      "<string>"
    ],
    "archived_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Merge the specified user into the one identified by the UID in the path. All data will be transferred, and the merged user will be permanently deleted.

⚠️ WARNING: This action is irreversible — once completed, the merged user cannot be recovered. ⚠️

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
string
required

The UID of the user the target will be merged into.

Body

application/json

Response

200
application/json
Successful

The response is of type object.