API Reference · On-call · Schedule layers
Update layer
Mutation
updateOnCallScheduleLayerUpdates a schedule layer. Omitted fields stay unchanged.
updateOnCallScheduleLayer(
organizationId: ID!
scheduleId: ID!
layerId: ID!
updateSpec: ScheduleLayerUpdateSpecInput!
): Boolean!Arguments
Field
Type
Returns
Boolean!
Example
mutation UpdateOnCallScheduleLayer($organizationId: ID!, $scheduleId: ID!, $layerId: ID!, $updateSpec: ScheduleLayerUpdateSpecInput!) {
updateOnCallScheduleLayer(organizationId: $organizationId, scheduleId: $scheduleId, layerId: $layerId, updateSpec: $updateSpec)
}Example response
{
"data": {
"updateOnCallScheduleLayer": true
}
}Related
More in Schedule layers