Skip to main content
DELETE
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
domains
/
{domainId}
Delete Domain
curl --request DELETE \
  --url https://api.getscale.ng/api/v1/hub/shop/{shopId}/domains/{domainId} \
  --header 'X-Shop-API-Key: <x-shop-api-key>'
{
  "status": "success",
  "message": "Domain removed successfully"
}
Removes a registered custom domain or subdomain configuration.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
domainId
number
required
The unique ID of the domain record.
{
  "status": "success",
  "message": "Domain removed successfully"
}