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",
"created_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>"
}
]
},
"message": "Domain projects updated successfully."
}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",
"created_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>"
}
]
},
"message": "Domain projects updated successfully."
}Team API token. Find this in your team settings.
UpdateDomainProjectsData
Show child attributes
Show child attributes
TXT, CNAME, MX active The record is active and verified. |
failed The record could not be verified. |
pending The record is pending verification. |
active, failed, pending Domain projects updated successfully.