curl --request PUT \
--url https://api.absentify.com/api/v1/members/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"is_admin": true,
"department_ids": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"public_holiday_id": "<string>",
"birthday": "2023-11-07T05:31:56Z",
"custom_id": "<string>",
"status": "INACTIVE"
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Update a member
curl --request PUT \
--url https://api.absentify.com/api/v1/members/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"is_admin": true,
"department_ids": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"public_holiday_id": "<string>",
"birthday": "2023-11-07T05:31:56Z",
"custom_id": "<string>",
"status": "INACTIVE"
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Successful response
The response is of type string
.
Was this page helpful?