Update a Monitor
PUT /api/0/organizations/{organization_slug}/monitors/{monitor_slug}/
Update a monitor.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the resource belongs to.
monitor_slug
(string)REQUIREDThe slug of the monitor.
Body Parameters
name
(string)REQUIREDName of the monitor. Used for notifications.
type
(string)REQUIREDcron_job
- cron_job
slug
(string)Uniquely identifies your monitor within your organization. Changing this slug will require updates to any instrumented check-in calls.
status
(string)Status of the monitor. Disabled monitors will not accept events and will not count towards the monitor quota.
active
- activedisabled
- disabled
owner
(string)The ID of the team or user that owns the monitor. (eg. user:51 or team:6)
is_muted
(boolean)Disable creation of monitor incidents
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:project:admin
project:read
project:write
curl https://sentry.io/api/0/organizations/{organization_slug}/monitors/{monitor_slug}/ \ -H 'Authorization: Bearer <auth_token>' \ -X PUT \ -H 'Content-Type: application/json' \ -d '{}'
RESPONSESCHEMA
.