Skip to main content

Templates Category / Delete template category

Delete template category

Method: DELETE

https://api-prod.enotifiers.com/api/V1/service/templatesCategory/delete?category_name=test_3

Request details

API Parameters
Parameter Description Example
category_name
string
The name of the template category to be deleted test_3

Curl code

Tabbed Interface
curl --location --request DELETE 
            'https://api-prod.enotifiers.com/api/V1/service/templatesCategory/delete?category_name=test_3' \
            --header 'accept: application/json' \
            --header 'Authorization: Basic {{Authorization}}' \ 
        

Success response details

API Parameters
Parameter Description Example
status
String
Indicates the success status
of the API operation
success
code
String
Provides the status code indicating
the success of the request.
200
message
String
A descriptive message confirming
the success of the operation.
Template Category deleted successfully
data.templateCategory
String
Name of the deleted template category test_3
data.status
String
Status of the deletion process Deleted
{
    "status": "success",
    "code": "200",
    "message": "Template Category deleted successfully.",
    "data": {
        "templateCategory": "test_3",
        "status": "Deleted."
    }
}

Failure response details

API Parameters
Parameter Description Example
status
String
Indicates the overall status
of the API request.
failed
code
String
Provides the HTTP status code
corresponding to the failure.
400
message
String
Provides the reason for the error Template category 'test' not found
data.error
String
Specific error message providing
more context about the issue.
Null
{
    "status": "failed",
    "code": "400",
    "message": "Category 'test' not found.",
    "data": {
        "error": null
    }
}
Document

Policy

Terms of Use

policy

© 2024 E-Notifiers. All rights reserved.