Create a SavedCropArea for the specified Asset.
Security
bearerToken
The unique ID of the Asset
The unique ID for a PresetTransformation. It only applies to CropTransformation presets.
- Productionhttps://api-v2.dash.app/assets/{id}/saved-crop-areas
- Staginghttps://api-v2.dashstaging.app/assets/{id}/saved-crop-areas
curl -i -X POST \
'https://api-v2.dash.app/assets/{id}/saved-crop-areas' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"presetId": "string",
"cropParameters": {
"x": 200,
"y": 100,
"width": 400,
"height": 300
},
"previewUri": "string"
}'Response
{ "result": { "id": "string", "presetId": "string", "assetId": "string", "cropParameters": { … }, "previewUri": "string" }, "permittedActions": [ { … } ] }