Update Contact

PUT /v1/contacts/{id}

Path parameters

  • id string Required

    Contact ID

Responses

  • 200 application/json

    Contact response

    Hide response attribute Show response attribute object
    • data object

      A contact

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • category enum Required

        Contact category

        Values are person or team.

      • email string(email)

        Email address

      • Contact first name

        Format should match the following pattern: [a-zA-Z][a-zA-Z0-9_]+.

      • function string

        Contact function

      • id integer

        Contact ID

      • insertedAt string(date-time)

        Creation timestamp

      • lastName string

        Contact last name

        Format should match the following pattern: [a-zA-Z][a-zA-Z0-9_]+.

      • tags array[string]

        Contact tags

      • updatedAt string(date-time)

        Update timestamp

PUT /v1/contacts/{id}
curl \
 -X PUT http://localhost:4000/v1/contacts/uuidv4
Response examples (200)
{
  "data": {
    "id": "<uuid v4>",
    "category": "person",
    "last_name": "Muster",
    "first_name": "Melanie"
  }
}