Delete contact
DELETE/v1/contacts/:contact_id
Delete contact
This endpoint allows authorized users to mark a contact as inactive by updating its status in the database. It requires a valid contact_id and checks for the existence of the contact and the user's permission to perform the deletion.
Request
Path Parameters
contact_id uuidrequired
Contact id to delete
Responses
- 204
- 403
- 404
- 500
Contact deleted
Permission denied
- text/plain
- Schema
Schema
string
Contact not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...