delete https://apidocs.cloud.answerhub.com/services/v2///.json
/services/v2/users/gdpr/[user-id].json
- URL Params
No params needed; the user ID is already a path param.
For Permissions, Requirements, and More Detailed Information:
Reference the GDPR Plugin Docs in the Non-Reference portion of the documentation.
Sample Request
A DELETE Hard Delete User request for a user (userId:124) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:
curl
-u answerhub:test123
-H “Accept:application/json”
-H "Content-Type:application/json"
-x DELETE
“https://apidocs.cloud.answerhub.com/services/v2/users/gdpr/124.json”
Expected Responses
- Success and Error Responses: the format is / {}
- 422 / {"error":"The user has activity - impossible to be removed"}
- 400 / {"error":"The provided user id could not be parsed"}
- 422 / {"error":"Invalid User Id"}
- 200 / {"message":""}