Delete Attachments


- 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 using a human-readable Username/Password (answerhub/test123) would look like this:

-u answerhub:test123 
-H “Accept:application/json” 
-H "Content-Type:application/json"
-x DELETE “”

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"}
Click Try It! to start a request and see the response here!