User: JenkinsSBO
From Genesys Documentation
Revision as of 08:21, October 7, 2020 by JenkinsSBO (talk | contribs)
DELETE /agents
Delete agent record.
Description
A DELETE rest endpoint to delete agent records.
curl -X DELETE \\ 'https://app.journeyoptimization.com/api/v2.0/agents' \\ -H 'Content-Type: application/json' \\ -d '{ "token": "token", "id": "ID1" }'
Parameters[edit source]
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
json | body | A valid JSON containing token id | Yes | object |
Responses
Code | Description |
---|
| 200 | A JSON response is returned. Refer below examples.
Example (JSON response):
{<br> "ok": true,<br> "removed_count": 1<br>}
|