Deletes a tag
| Method | delete.tags |
|---|---|
| Description | Deletes a tag |
| Who has access | Agents and clients |
System tags (is_system = true) cannot be deleted.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
access_token |
string | yes | Session key used to authenticate the request |
id |
number | yes | Unique tag ID |
user_id |
number | no | Unique ID of the client user on whose behalf the request is made. Required when an agent makes the request. To retrieve a list of client users, call "get.customer_users". |
Example request
{
"jsonrpc":"2.0",
"id":"number",
"method":"delete.tags",
"params":{
"access_token":"string",
"id":"number",
"user_id":"number"
}
}
Example response
{
"jsonrpc":"2.0",
"id":"number",
"result":{
}
}
List of returned errors
See the "List of errors for delete methods" section.