Skip to content

Delete schedules

Deleting activity schedules

Method delete.schedules
Description Deleting activity schedules
Who has access Partner, Customer

Parameters of a request

Title Type Required Description
access_token string yes Authentication session key
id number yes Unique ID of an activity schedule
user_id number no Unique ID of an agent's customer user who makes request
Is required for agent
To access a list of customer users, use the method "get.customer_users"

JSON request structure

{
  "jsonrpc":"2.0",
  "id":"number",
  "method":"delete.schedules",
  "params":{
    "access_token":"string",
    "id":"number",
    "user_id":"number"
  }
}

JSON reply structure

{
  "jsonrpc":"2.0",
  "id":"number",
  "result":{

  }
}

List of returning errors

Refer to the section "List of errors for the methods with the verb delete"