POST/users/{userId}/set-leave-of-absence
Sets a leave of absence for a member.
The leave of absence setting overwrites the previous one if it exists, or is newly added if not.
Both startTime and endTime must be specified.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
user
directory
| Parameter | Type | Description |
|---|---|---|
| userId | string | Member ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| startTime | string | Start time ISO-8601 nullable : true |
| endTime | string | End time ISO-8601 nullable : true |
example
1{2 "startTime": "2017-03-16T09:00:00+09:00",3 "endTime": "2017-03-16T09:00:00+18:00"4}No Content
Bad Request
Forbidden
Not Found