Log In

Update a User Contact

put/public/v1/user-contacts/{userContact}
  • Authorizationstringrequired

    Bearer authentication header of the form Bearer <token>, where <token> is your API key. See How to set up an API key.

  • userContactstringrequired

    The user contact UUID

Body

application/json
  • namestringrequiredmax length 255
  • relationshipstringrequiredmax length 255
  • phonestring | nullmax length 255
  • emailstring<email> | nullmax length 255
  • roleenum<string>required
    Available options:emergency_contactnext_of_kin

Response

200application/json

UserContactResource

  • dataobjectrequired
    ▶Show 6 child attributes
    • idstringrequired
      Example:c1o2n3t4-a5c6-47t8-9a0b-1c2d3e4f5a6b
    • namestringrequired
      Example:Margaret Doe
    • relationshipstring | nullrequired
      Example:Mother
    • phonestring | nullrequired
      Example:0412345678
    • emailstring | nullrequired
      Example:margaret.doe@example.com
    • roleenum<string>required
      Available options:emergency_contactnext_of_kin
  • 401Unauthenticated
  • 403Authorization error
  • 404Not found
  • 422Validation error