PUT /tickets/settings/sla
Update SLA thresholds
Update SLA threshold configuration for all priority levels
Request Body
{}{ "slaThresholds": { "urgent": { "firstResponseMinutes": 0, "resolutionMinutes": 0 }, "high": { "firstResponseMinutes": 0, "resolutionMinutes": 0 }, "medium": { "firstResponseMinutes": 0, "resolutionMinutes": 0 }, "low": { "firstResponseMinutes": 0, "resolutionMinutes": 0 } }, "businessHoursOnly": false, "pauseOnCustomerWaiting": false, "atRiskThresholdPercent": 0}Try it out
Loading...
Output:
Responses
Description
SLA thresholds updated successfully
{ "success": false, "message": "string", "slaThresholds": {}}Description
Invalid SLA data
Description
Insufficient permissions
References
#/components/schemas/SLAThreshold
type: objectproperties: firstResponseMinutes: type: integer minimum: 1 description: First response target in minutes resolutionMinutes: type: integer minimum: 1 description: Resolution target in minutes|export interface SLAThreshold { /** First response target in minutes */ firstResponseMinutes?: number; /** Resolution target in minutes */ resolutionMinutes?: number;}Route Source Code
Check out the source code for this route entrypoint here: /tickets/settings/sla/route.ts
Or the swagger.yaml spec this documentation was generated from:
/tickets/settings/swagger.yaml