People

Update an email address

Changed on

Update an existing email address for a person

patch/v1/people/{person_id}/email_addresses/{id}

Request

  • Base URL
    https://api.slant.app
  • URL
    https://api.slant.app/v1/people/{person_id}/email_addresses/{id}
  • Auth
    HTTP bearer

Request body

emailstring email
email_type'personal' | 'business' | 'school' | 'other' | 'inactive'
is_primaryboolean

Example request

{
  "email": "updated@example.com",
  "email_type": "business",
  "is_primary": true
}

Response

email address updated

idstring
person_idstring
emailstring
email_typestring
is_primaryboolean

Changes

    • info

      added the new inactive enum value to the request property

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      removed the invalid_json enum value from the response property for the response status

    • info

      response property detail list-of-types was narrowed by removing types array from media type application/json of response 400