Delete a theme
Delete a theme registration and the associated files.
Before you begin
- Get the theme ID. See List the themes.
- If a theme is used by any application in your Verify tenant, you cannot delete the theme. To remove a theme from an application, go to the application settings and set the Theme field to default. For more information, see Setting the basic application details.
About this task
Delete a theme registration and the associated templates files in your Verify tenant.
Note: To reset the themes to the original Verify settings, see Resetting themes. Resetting the templates will erase all
themes on your tenant.
To reset a single theme:
- If the theme is a customer-created theme, you can delete the theme and then create a new one.
- If the theme is the default global theme, download the master theme, and then, upload the master theme back as the default theme to override the customizations.
Procedure
Delete a theme.
curl -X DELETE --header 'Accept: text/html' 'https://<tenant>/v1.0/branding/themes/<themeID>' -H 'Authorization: Bearer <access_token>' where:- <tenant>
- The fully qualified domain name that is assigned to your Verify subscription.
- <themeID>
- The theme identification name. See List the themes.
- <access_token>
- The value of the access token you received in Managing themes.
Example
curl -X DELETE --header 'Accept: text/html' 'https://companyAppTest.verify.ibm.com/v1.0/branding/themes/38d7387a-3b03-455d-b358-55ed497065e7' -H 'Authorization: Bearer JUHn05z35P4Kd9QaCLHFEyMGEbzeCOo0faBefI9w'