AurionAI Docs

Update Schedule

PATCH
/api/v2/oncall/schedules/{schedule_id}

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

schedule_id*Schedule Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v2/oncall/schedules/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "created_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "is_active": true,
  "name": "string",
  "rotation_type": "weekly",
  "team_id": "string",
  "timezone": "UTC",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}