PatchContactRequest
Body for updating a contact's editable fields. All fields are optional; provide at least one. On member contacts, the upstream-derived snapshot fields (first_name, last_name, org_name, email, phone, fax, address) are rejected: they come from the member's profile, location, phone and organization. location_id moves a member contact to another location of the organization. disclose and is_active are editable on both member and external contacts. On external contacts, all snapshot fields plus disclose and is_active are editable.
- firstType: string
_name min length:1max length:128Registrant first name. External contacts only.
- regionType: stringmax length:128
Region, state, or province. External contacts only.
- postalType: string
_code max length:32Postal or ZIP code. External contacts only.
- countryType: string
_code ISO 3166-1 alpha-2 country code. External contacts only.
- discloseType: boolean
Per-contact registry-disclosure flag. Editable on both kinds because disclosure is operator policy, not an upstream-derived value.
- isType: boolean
_active Whether the contact is available for assignment. Editable on both kinds. Setting this to false on a contact still in use is refused with 422, under the same codes as a delete: a team role slot (contact.referenced_by_team), a domain (contact.referenced_by_domain), a registry reviewing an update that puts it on a domain (contact.referenced_by_domain_review), an order in progress (contact.referenced_by_order) or a contact change being applied (contact.referenced_by_change).
- locationType: string
_id The organization location the contact sits at. Member contacts only. The contact takes the new location's address and fax, and its office phone unless the contact uses the member's own phone.
- lastType: string
_name min length:1max length:128Registrant last name. External contacts only.
- orgType: string
_name max length:256Registrant organization name. External contacts only. Empty string clears.
- emailType: stringmin length:1max length:320
Registrant email address. External contacts only. Cannot be cleared, because every registry requires one.
- phoneType: stringmin length:1max length:32
Registrant phone in E.164 form. External contacts only. Normalized to canonical E.164 on save. Cannot be cleared, because every registry requires one.
- faxType: stringmax length:32
Registrant fax in E.164 form. External contacts only. Empty string clears.
- street1Type: stringmin length:1max length:256
First line of the street address. External contacts only.
- street2Type: stringmax length:256
Second line of the street address. External contacts only.
- cityType: stringmin length:1max length:128
City or locality. External contacts only.