Deletes a CannedResponse record. Once deleted, the record is permanently removed from the system.
This action is permanent and cannot be undone. Consider updating the record instead if you want to preserve its history.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the CannedResponse-Delete role.
Path Parameters
The Id of the CannedResponse record to delete.
Code Examples
curl -X DELETE \
"https://spaces.nexudus.com/api/crm/cannedresponses/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
HTTP status code. 200 on success.
A human-readable message confirming the deletion.
Contains the Id of the deleted record.
true if the deletion was successful.
{
"Status": 200,
"Message": "CannedResponse was successfully deleted.",
"Value": {
"Id": 87654321
},
"OpenInDialog": false,
"OpenInWindow": false,
"RedirectURL": null,
"JavaScript": null,
"UpdatedOn": "2025-01-15T12:00:00Z",
"UpdatedBy": "admin@example.com",
"Errors": null,
"WasSuccessful": true
}
500
{
"Status": 500,
"Message": "An error occurred while deleting the record.",
"Value": null,
"RedirectURL": null,
"UpdatedOn": null,
"UpdatedBy": null,
"Errors": null,
"WasSuccessful": false
}