Skip to main content
POST
/
v1
/
custom-domains
/
{domain_id}
/
default
Set Default Domain
curl --request POST \
  --url https://api.oviond.com/v1/custom-domains/{domain_id}/default \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_default": true
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

domain_id
string
required

Body

application/json
is_default
boolean
default:true

Response

Default updated

success
enum<boolean>
required
Available options:
true