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: OWNER
deleteCustomDomain(
  input: DeleteCustomDomainInput!
): DeleteCustomDomainPayload!

Arguments

ArgumentTypeDescription
inputDeleteCustomDomainInput!The domain to delete.

Return type

DeleteCustomDomainPayload!