Updates the name of a work schedule.
Schedules >
Updates the name of a work schedule.
Method
update.schedules
Description
Updates the name of a work schedule.
Who has access
Agents and clients
Request parameters
Name
Type
Required
Description
access_token
string
yes
Access token used to authenticate the request.
id
number
yes
Unique ID of the work schedule to update.
user_id
number
no
Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users" .
name
string
yes
New name for the work schedule.
Example request
{
"jsonrpc":"2.0",
"id":"number",
"method":"update.schedules",
"params":{
"access_token":"string",
"id":"number",
"user_id":"number",
"name":"string"
}
}
Example response
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}
Possible errors
See the "Errors for update methods" section.