Skip to content

Delete a comment for a client

Request

Deletes a client card comment with the corresponding own or other comment edit permission. It does not delete an uploaded file linked to a file comment.

Security
BearerPartnerUser
Path
location_idnumberrequired

ID of a location.

Example:123
client_idnumberrequired

ID of a location client.

Example:123
comment_idnumberrequired

ID of a comment for client.

Example:123
Headers
Acceptstringrequired

Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.

Default:"application/vnd.api.v2+json"
Example:application/vnd.api.v2+json
Content-Typestringrequired

Should be equal to application/json

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

Responses

No Content

Response
No content