Update a watermark template by ID
PUT/social-media-posting/:locationId/watermarks/:templateId
Update the config on an existing watermark template — image URL, position, scale, opacity, padding, template name, or the connected accounts it applies to. Updating accountIds re-binds the template to a different set of accounts; use the Get Accounts endpoint to look up account IDs.
Request
API Version
v3Location Id
Watermark template ID
- application/json
- Body
- Example (auto)
Bodyrequired
Watermark position on the target image
top-lefttop-centertop-rightleft-centercenterright-centerbottom-leftbottom-centerbottom-rightScale factor between 0 and 1
Opacity between 0 and 1
Whether padding is applied around the watermark
Name of the watermark template
Connected account IDs to re-bind this template to. Sending this replaces the current binding entirely. Use the Get Accounts endpoint to look up account IDs.
Set true to soft-delete this template
{
"position": "top-left",
"scale": 0.5,
"opacity": 0.7,
"padding": true,
"templateName": "DefaultTemplate",
"accountIds": [
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
],
"deleted": false
}
Watermark template successfully updated
- application/json
- Schema
- Example (auto)
Schema
Success or Failure
Status Code
Message
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"
}
}