Delete a watermark template by ID
DELETE/social-media-posting/:locationId/watermarks/:templateId
Soft-delete a watermark template. The template is marked as deleted and no longer applies at post-publish time, but the record is preserved in the database. Any accounts previously bound via accountIds are released and become eligible for other templates.
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location Id
templateId stringrequired
Watermark template ID
Watermark template successfully deleted
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success or Failure
statusCodenumberrequired
Status Code
messagestringrequired
Message
resultsobject
Watermark template
{
"success": true,
"statusCode": 200,
"message": "Fetched Watermark Template",
"results": {
"_id": "665f1bac78fda9b6c5f48012",
"watermarkImageUrl": "http://example.com/watermark.png",
"position": "top-left",
"scale": 0.5,
"opacity": 0.7,
"padding": true,
"templateName": "DefaultTemplate",
"locationId": "ve9EPM428h8vShlRW1KT",
"createdBy": "Lx1EI6YIgQYMQi0ytFXv",
"accountIds": [
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
],
"deleted": false,
"createdAt": "2024-07-24T10:21:00.123Z",
"updatedAt": "2024-07-24T10:21:00.123Z"
}
}