Skip to content

Delete a client card file

Request

Deletes an uploaded file belonging to this Location client. Requires clients_access and client_files_delete_access. The client comment history is a separate resource; deleting a file does not turn a saved form URL into an uploaded document.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

client_idnumberrequired

Client ID

file_idnumberrequired

File ID

Headers
Acceptstring

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
curl -i -X DELETE \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/clients/files/{client_id}/{file_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'

Responses

Accepted

Bodyapplication/json
Response
{ "success": true, "meta": { "message": "Accepted" } }