Skip to content

Update a saved crop area

Request

Update a SavedCropArea resource. Only the provided fields will be updated

Security
bearerToken
Path
idstringrequired

The unique ID of the SavedCropArea

Bodyapplication/jsonrequired
cropParametersobject
previewUristring

The preview of this crop area in Base64

curl -i -X PATCH \
  'https://api-v2.dash.app/asset-saved-crop-areas/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "cropParameters": {
      "x": 200,
      "y": 100,
      "width": 400,
      "height": 300
    },
    "previewUri": "string"
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "string", "presetId": "string", "assetId": "string", "cropParameters": {}, "previewUri": "string" }, "permittedActions": [ {} ] }