Method to delete a profile by ID
HTTP POST /ctreplay/:domain?/deleteProfile/:documentId
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | NO | STRING | domain id. Default domain is “default” |
documentId | YES | STRING | Profile ID |
Response:
Type: JSONP
Name | Type | Description |
---|---|---|
result | BOOLEAN | Result true in case of success, false in case of error |
error | STRING | Error description in case of error |
Example:
Request
http://<hostname>:<port>/ctreplay/default/deleteProfile/5f450211b5a094e754fc2fd3
Response
{ "result": true, "error": null }