Admin API / Mutations
deleteCustomDomain
Deletes an enabled custom domain of the store. Its surfaces stop serving. Requires the OWNER role or higher. No other domain becomes the primary domain.
Requires a client key with one of these scopes:
admin:storefront:manageRequires this member role or higher: OWNERdeleteCustomDomain(
input: DeleteCustomDomainInput!
): DeleteCustomDomainPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | DeleteCustomDomainInput! | The domain to delete. |