CDN and DNS (v2.1)
Partial Update Preset
Partially updates an existing Preset object in the specified workspace with the provided configuration.
patch/delivery/v2.1/global/workspaces/{workspaceUUID}/presets/{resourceId}
Request
- Base URLhttps://api.sotoon.ir (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
resourceIdstring required
Resource ID
workspaceUUIDstring required
UUID of the workspace
Request body
Example request
{
"apiVersion": "delivery/v2",
"kind": "Preset",
"metadata": {
"uid": "00000000-0000-0000-0000-000000000000"
},
"spec": {
"audio": {
"bitrate": "128k",
"codec": "aac"
},
"container": "mp4",
"speed": "medium",
"video": {
"bitrate": "1000k",
"bufferSize": "2M",
"codec": "h264",
"maxBitrate": "2M",
"minBitrate": "500k",
"resizeType": "autoHeight"
}
}
}Response
The preset was successfully partially updated. The response contains the complete preset details including the assigned unique identifier.
Example response
{
"apiVersion": "delivery/v2",
"kind": "Preset",
"metadata": {
"uid": "00000000-0000-0000-0000-000000000000"
},
"spec": {
"audio": {
"bitrate": "128k",
"codec": "aac"
},
"container": "mp4",
"speed": "medium",
"video": {
"bitrate": "1000k",
"bufferSize": "2M",
"codec": "h264",
"maxBitrate": "2M",
"minBitrate": "500k",
"resizeType": "autoHeight"
}
}
}Changes
No recorded changes to this operation across all 6 revisions of this API.