Skip to main content
POST
/
apps
/
{app_id}
/
domain
Update custom domain
curl --request POST \
  --url https://shardcloud.app/api/apps/{app_id}/domain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "custom_domain": "<string>"
}'
{
  "message": "<string>",
  "custom_hostname": {},
  "cname": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

app_id
string<uuid>
required

Body

application/json
custom_domain
string
required

Response

Custom domain updated successfully

message
string
custom_hostname
object
cname
string
I