Delete a theme
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"notice": "The theme is successfully deleted."
}{
"error": "NeetoThemesEngine::Theme does not exist."
}Themes
Delete a theme
Delete a workspace theme. Forms that use it fall back to the default theme. System themes cannot be deleted.
DELETE
/
themes
/
{id}
Delete a theme
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/themes/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"notice": "The theme is successfully deleted."
}{
"error": "NeetoThemesEngine::Theme does not exist."
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Unique ID of the theme. You can get it from the List themes API.
Example:
"3b0d5c1e-2f7a-4c4e-9d1b-6a8f2e7c9b10"
Response
OK - Request succeeded
Example:
"The theme is successfully deleted."