v1
latestOpenAPI 3.1.02026-07-24334970.2 KBPriorities
Update an existing priority
Performs a partial update on the specified priority using JSON Merge Patch semantics (RFC 7396). Only fields provided in the payload are modified; omitted fields remain unchanged.
Immutable fields like id, testingToken, createdAt, and updatedAt are ignored if included. startAt and endAt can be updated independently. For nested objects like preAdmission, the entire object is replaced, not merged.
patch/priorities/{id}
Path parameters
idstring uuid required
Unique identifier of the priority.
Response
Successfully updated priority.
Example response
{
"id": "a3bb189e-8bf9-3888-9912-ace4e6543002",
"name": "Black Friday Sale Queue",
"maximumConcurrentVisitors": 10000,
"inactivityTimeoutMinutes": 15,
"admissionRatePerMinute": 500,
"priority": 10,
"matchingCondition": "domain:shop.example.com AND url:/sale/*",
"preAdmission": {
"durationMinutes": 30
},
"startAt": "2025-11-24T01:00:00Z",
"endAt": "2025-11-30T01:00:00Z",
"enforceClientSideValidation": true,
"allowAIAgent": false,
"directAccessTrafficType": [
"verifiedBots"
],
"isEnabled": true,
"template": {
"id": "c1d2e3f4-5678-9abc-def0-123456789abc",
"name": "Black Friday Theme"
},
"createdAt": "2025-10-01T12:00:00Z",
"updatedAt": "2025-10-01T12:00:00Z"
}