curl --request DELETE \
--url https://api.royalti.io/defaultsettings/templates/{templateId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Template deleted successfully"
}DELETE /defaultsettings/templates/
curl --request DELETE \
--url https://api.royalti.io/defaultsettings/templates/{templateId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Template deleted successfully"
}DELETE
Path Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
| templateId | uuid | ID of template to delete | Yes |
const response = await fetch('https://api.royalti.io/defaultsettings/templates/example-id', {
method: 'DELETE',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
ID of the template to delete