Guides

Update Watermark - Step 2

STEP 2: Update Watermark options and confirm new watermark file

Watermark Placement and Scaling and optionally the newly uploaded file from STEP 1 can be updated as below.

REQUEST JSON

{
"key": "watermark",
"value": {
        "watermarkFileKey": watermarkFileKey,
        "watermarkPlacement": watermarkPlacement,
        "watermarkScale": watermarkScale
        }
}

REQUEST PARAMETERS

ParametersTypeDescription
keystringSet to watermark
value.watermarkFileKeystring(optional) If a watermark image was uploaded in STEP 1, provide the value returned by the upload API call here.
value.watermarkPlacementstringCan be center, top-left, top-right, bottom-left or bottom-right
value.watermarkScalefloatValue between 0 and 1, like 0.1, 0.5, 0.9, etc. A value of 0.1 would place a watermark that is not larger than 10% in width and height of the target image
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!