Skip to content

Cancel a custom domain claim

DELETE
/sites/{site_name}/domains/{claim_id}
curl --request DELETE \
--url https://example.com/sites/example/domains/1 \
--header 'Authorization: Bearer <token>'
site_name
required
Site Name
string
claim_id
required
Claim Id
integer

Successful Response

Unauthorized

Media typeapplication/json
ErrorResponse
object
detail
required
Detail
string
Examplegenerated
{
"detail": "example"
}

Forbidden

Media typeapplication/json
ErrorResponse
object
detail
required
Detail
string
Examplegenerated
{
"detail": "example"
}

Not Found

Media typeapplication/json
ErrorResponse
object
detail
required
Detail
string
Examplegenerated
{
"detail": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}