delete
https://{yourinstance}.makaira.io/storefront/domains/
Removes a custom domain from the storefront.
Removes a custom domain from the storefront by its ID or hostname.
Requires the storefront:domains:write or storefront.write permission.
Request
DELETE /storefront/domains/{domainIdOrHostname}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
domainIdOrHostname | string | The domain ID or the hostname to remove. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Example Request
DELETE /storefront/domains/def456
or
DELETE /storefront/domains/www.myshop.com
Response
Returns the deleted domain object or a success confirmation, with the HTTP status code from the underlying provider.
200OK

