---
title: "Update a registrant contact"
method: PATCH
path: "/v1/domains/contacts/{contactId}"
tags: ["Domains"]
---

# Update a registrant contact

`PATCH /v1/domains/contacts/{contactId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/domains/contacts/{contactId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `domains:write`)

Changes a saved registrant contact. Only future purchases use the new details; domains already registered keep theirs.

## Path parameters

- `contactId` string, required: Contact id (`dcon_...`).

## Request body

- object
  - `firstName` string
  - `lastName` string
  - `organization` string, nullable
  - `address1` string
  - `address2` string, nullable
  - `city` string
  - `state` string
  - `postalCode` string
  - `countryCode` string
  - `email` string, email
  - `phone` string

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `firstName` string, required
    - `lastName` string, required
    - `organization` string
    - `address1` string, required
    - `address2` string
    - `city` string, required
    - `state` string, required
    - `postalCode` string, required
    - `countryCode` string, required
    - `email` string, email, required
    - `phone` string, required
    - `id` string, required: Contact id (`dcon_...`).
    - `teamId` string, required: Team that owns the contact.
    - `updatedAt` string, date-time, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
