delete https://apidocs.cloud.answerhub.com/services/v2////.json
/services/v2/users/gdpr/[user-id]/activity.json
- URL Params
No params needed; the user ID is already a path param.
- Data Params
No data params
For Permissions, Requirements, and More Detailed Information:
Reference the GDPR Plugin Docs in the Non-Reference portion of the documentation.
Sample Request
curl
-u answerhub:test123
-H "Accept:application/json"
-H "Content-Type:application/json"
-X DELETE "https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/118/activity.json"
Expected Responses
- Success and Error Responses: the format is / {}:
- 200 / {"message": ""}
- 422 / {"error":"Invalid User Id"}
- 400 / {"error":"The provided user id could not be parsed"}
Sample Response
Successful Response:
- HTTP Status 200 - OK
{
"message": "1355"
}