A user with admin role can deactivate the specified theme from a particular
tenant.
Procedure
- In a REST client platform, add the authentication details of the tenant to deactivate the
applied theme.
//In case of Instance API key
Headers:
{
"x-instance-api-key": "instance_api_key"
}
// In case of MCSP or ISV token
Headers:
{
"Authorization": "mcsp_or_isv_token"
}
- Make a PUT request at the URL of the project.
URL syntax: <domain>/apis/v1/rest/themes/:theme_uid/deactivate
In this URL request, /:theme_uid is the ID of the theme you want to
deactivate.
Method: PUT
If the request is successful, you receive the response code for success.
{
output:
{
"name": "<theme_name>",
"uid": "<theme_uid>",
"active": false,
}
}