Update contact
PUT/v1/contacts/:contact_id
Update contact
This endpoint allows updating details of a specific contact identified by its unique ID. It accepts optional parameters such as name, email, and a list of addresses. Each address can have properties like id, name, address, and network_id. This endpoint performs validation checks to ensure that the contact exists and that there are fields to update. It supports partial updates, meaning only the provided fields will be updated. Upon successful update, it returns a 204 No Content status.
Request
Path Parameters
contact_id uuidrequired
Contact id to update
- application/json
Body
required
- Array [
- ]
addresses object[]nullable
address stringnullable
id uuidnullable
name stringnullable
network_id int32nullable
email stringnullable
name stringnullable
Responses
- 204
- 400
- 404
- 500
Contact updated
No fields to update
- text/plain
- Schema
Schema
string
Contact not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...