Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Storefront__delete Custom Domain

Disconnect the custom domain from the tenant's storefront. { permissions: ['*', 'delete'], collectionName: 'storefront__CustomDomain' } Requires a signed-in staff user. Needs the `storefront__CustomDomain` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONstorefront__deleteCustomDomain: Boolean!

Disconnect the custom domain from the tenant's storefront. { permissions: ['*', 'delete'], collectionName: 'storefront__CustomDomain' } Requires a signed-in staff user. Needs the storefront__CustomDomain delete permission. Send the x-tenant header (the gateway sets it from your API key).

Returns

storefront__deleteCustomDomain*Boolean!
Example Request
mutation Storefront__deleteCustomDomain {  storefront__deleteCustomDomain}
Example Response
{  "data": {    "storefront__deleteCustomDomain": true  }}