| Method | delete.offline_messages |
|---|---|
| Description | Deleting an offline application |
| Available to | Agent, Client |
| Necessary components for working with the method | Data API, Loading offline applications from an external system |
Only applications uploaded via the Data API are available for deletion.
In the report "Getting information on offline requests" get.offline_messages_report are marked as "form_type": "DataAPI"
Request parameters
| Title | Type | Required | Description | |
|---|---|---|---|---|
access_token |
string | yes | Authentication session key | |
user_id |
number | no | Unique user identifier of the agent client on behalf of which the request is made Is required for the agentTo obtain a list of client users, you must use the method "get.customer_users" |
|
id |
number | yes | Offline Application ID |
JSON request structure```json
{ "jsonrpc": "2.0", "id": "number", "method": "delete.offline_messages", "params": { "access_token": "string", "user_id": "number", "id": "number" } }
### JSON response structure```JSON
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"success": "true"
}
}
List of returned errors
See the section "List of errors for methods with the delete verb"