Skip to main content
PUT
/
domains
/
{domainId}
/
projects
Update projects associated with a domain
curl --request PUT \
  --url https://api.lettermint.co/v1/domains/{domainId}/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "data": {
    "id": "<string>",
    "domain": "<string>",
    "status_changed_at": "2023-11-07T05:31:56Z",
    "dns_records": [
      {
        "id": "<string>",
        "type": "TXT",
        "hostname": "<string>",
        "fqdn": "<string>",
        "content": "<string>",
        "status": "active",
        "verified_at": "<string>",
        "last_checked_at": "2023-11-07T05:31:56Z"
      }
    ],
    "projects": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z"
  },
  "message": "Domain projects updated successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

domainId
string
required

Body

application/json

UpdateDomainProjectsData

project_ids
string<uuid>[]
required

Response

data
object
required
message
enum<string>
required
Available options:
Domain projects updated successfully.