Skip to main content

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

Body

required
    addresses object[]nullable
  • Array [
  • address stringnullable
    id uuidnullable
    name stringnullable
    network_id int32nullable
  • ]
  • email stringnullable
    name stringnullable

Responses

Contact updated

Loading...