---
title: "Update a scenario schedule."
method: PUT
path: "/schedules/scenarios/{guid}"
tags: ["schedules"]
---

# Update a scenario schedule.

`PUT /schedules/scenarios/{guid}`

Requires the privilege [`SCENARIOS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Path parameters

- `guid` string, required

## Query parameters

- `teamId` string, required

## Request body

- UpdateScenarioScheduleRequest
  - `trigger` object
    - `windowType` 'Once' | 'Random'
    - `type` string
    - `templateId` string
    - `optionalTemplateId` string
    - `empty` boolean
  - `enabled` boolean

## Response `default`

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: SCENARIOS_WRITE

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/versions/70fe938a0b35/schema)
