Delete an existing agent survey object.
Request
Method | URL |
---|---|
DELETE | https://{domain}/api/account/{accountId}/configuration/ac-common/agent_surveys/{agentSurveyId} |
Path Parameters
Parameter | Description | Type / Value |
---|---|---|
accountId | LP site ID | String |
agentSurveyId | Account Config object’s unique id. For multiple deletion, use comma separator between agent survey id's {id1,id2,id3…} | String |
Request Headers
Header | Description |
---|---|
Authentication | Contains token string to allow request authentication and authorization |
If-Match | Contains special agent survey's current revision number |
Response
Response Codes
Code | Description |
---|---|
200 | OK |
304 | Not Modified |
400 | Bad Request |
401 | Not Authorized |
403 | Forbidden |
404 | Data Not Found |
409 | Conflict |
500 | Internal Server Error |
Response Headers
Header | Description |
---|---|
ac-revision | This parameter specifies the version of the data object retrieved. You can use the If-Match parameter in the request to retrieve a specific version using this parameter's value.. |
Response example
In case of delete success, the body is empty.
In case of trying to delete an already deleted agent surveys:
{
"type": "agent_surveys",
"internalCode": 12,
"message": "No data found"
}
Entity structure
For details on the entity structure, please see the appendix