Skip to main content
PATCH
/
projects
/
{projectId}
/
domains
/
{domainId}
Update a project domain
curl --request PATCH \
  --url {schemes}://api.upsun.com/projects/{projectId}/domains/{domainId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "attributes": {},
  "is_default": true
}
'
{
  "status": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required
domainId
string
required

Body

application/json
attributes
Arbitrary attributes · object

Arbitrary attributes attached to this resource

is_default
boolean

Is this domain default

Response

default - application/json
status
string
required

The status text of the response

code
integer
required

The status code of the response

Last modified on March 25, 2026