Get Started
Application
Equipment
Comment
Request
Unarchive a User
curl --request PATCH \
--url https://api.siit.io/v1/users/{uid}/unarchive \
--header 'Authorization: Bearer <token>'
{
"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"
}
}
Usage
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The UID of the User
Response
The UID of the User.
An array of all the known emails for this User.
The role of the User.
owner
, admin
, it
, hr
, ops
, finance
, custom
, user
The status of the User.
hired
, employee
, alumni
, external
The full name of the User.
The Slack user ID of the User (e.g. U0G9QF9C6).
A tag UID of kind "department"
A tag UID of kind "office_location"
A tag UID of kind "legal_entity"
An array of tag UIDs of kind "team"
female
, male
, non_binary
, other
, prefer_not_to_disclose
A language in IETF format (en-US, pt-PT, fr-FR...)
The UID of the manager of this user
The Microsoft Entra IDs (Azure Directory) associated with that User.
datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")
datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")
datetime formatted as ISO 8601 (e.g. "2020-12-15T03:34:13.000Z")
curl --request PATCH \
--url https://api.siit.io/v1/users/{uid}/unarchive \
--header 'Authorization: Bearer <token>'
{
"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"
}
}