Create Schedule
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/api/v2/oncall/schedules" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "team_id": "string" }'{
"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"
}
]
}