HyperTrackDocs
Visits

Delete Attachment

Delete an attachment associated with a specific visit by ID.

DELETE
/visits/{visit_id}/attachments/{attachment_id}

Delete an attachment associated with a specific visit by ID.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

visit_id*string
attachment_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/visits/string/attachments/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{  "detail": {},  "message": "string"}
{  "detail": {},  "message": "string"}
{  "detail": {    "<location>": {      "<field_name>": [        "string"      ]    }  },  "message": "string"}