---
updatedAt: 2026-05-21T16:40:07.000Z
---

# Delete a theme registration

Delete a theme registration and the associated template files. Checks whether the theme is used by any application before it is deleted.<br><br> Entitlements required: <br> manageTemplates (Manage templates and themes)

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0.0",
    "description": "Branding & customization",
    "title": "Branding & customization"
  },
  "servers": [
    {
      "url": "https://{tenanturl}",
      "variables": {
        "tenanturl": {
          "default": "{tenant_url}",
          "description": "URL of your IBM Security Verify tenant"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Customization - Themes"
    }
  ],
  "paths": {
    "/v1.0/branding/themes/{themeId}": {
      "delete": {
        "tags": [
          "Customization - Themes"
        ],
        "summary": "Delete a theme registration",
        "description": "Delete a theme registration and the associated template files. Checks whether the theme is used by any application before it is deleted.<br><br> Entitlements required: <br> manageTemplates (Manage templates and themes)",
        "operationId": "deregisterTheme",
        "parameters": [
          {
            "name": "themeId",
            "in": "path",
            "description": "Generated themeId for the requested theme. The themeID can be obtained from the GET call. See the \"List all the themes\" API.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The request was successful.",
            "content": {}
          },
          "400": {
            "description": "The request was malformed or might not be handled",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "401": {
            "description": "The client was not authenticated",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "403": {
            "description": "The client was not authorized to perform the request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "404": {
            "description": "The resource could not be located",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "405": {
            "description": "The HTTP method that is specified in the request is not supported by the resource",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "406": {
            "description": "The resource cannot produce the representation that is specified in the Accept header of the request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "409": {
            "description": "A conflict occurred unregistering this template.",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "415": {
            "description": "The resource cannot consume the representation that is specified in the Content-Type header of the request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          },
          "500": {
            "description": "An error occurred processing the request",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateError"
                }
              }
            }
          }
        },
        "x-category": "Branding & customization",
        "x-publicAPI": "true"
      }
    }
  },
  "components": {
    "schemas": {
      "TemplateError": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string"
          },
          "messageDescription": {
            "type": "string"
          }
        }
      }
    }
  },
  "x-original-swagger-version": "2.0",
  "x-explorer-enabled": false
}
```