Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Storefront__uninstall Theme

Remove an installed theme copy. The live theme cannot be uninstalled. { permissions: ['*', 'delete'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the `storefront__TenantThemeMap` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONstorefront__uninstallTheme(id: ID!): Boolean!

Remove an installed theme copy. The live theme cannot be uninstalled. { permissions: ['*', 'delete'], collectionName: 'storefront__TenantThemeMap' } Requires a signed-in staff user. Needs the storefront__TenantThemeMap delete permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

id*ID!

Returns

storefront__uninstallTheme*Boolean!
Example Request
mutation Storefront__uninstallTheme($id: ID!) {  storefront__uninstallTheme(id: $id)}
Variables
{  "id": "1"}
Example Response
{  "data": {    "storefront__uninstallTheme": true  }}