Delete Attachments

/services/v2/users/gdpr/[user-id]/attachments.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

A DELETE Delete Attachments request for a user (userId:117) 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/117/attachments.json”

Expected Responses

- Success and Error Responses: the format is / {}

  • 200 / {"message": "Attachments for user deleted successfully"}
  • 400 / {"error":"The provided user id could not be parsed"}
  • 422 / {"error":"Invalid User Id"}
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!