Delete custom icon
Permanently deletes a custom icon from the workspace.
What happens:
- The custom icon is permanently removed from the workspace
- The icon will no longer be available for use in projects, tickets, documents, or profiles
- Any existing uses of the icon may display as missing/broken
- This action cannot be undone
Note: This endpoint requires the CustomIcons.create permission. Use with caution as deleting an icon may affect content that references it.
DELETE
/administration/custom-icons/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200Custom icon deleted successfully
object401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/custom-icons/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/custom-icons/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/administration/custom-icons/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions