---
title: "Update a standard"
method: PUT
path: "/standards/{id}"
tags: ["Standards"]
---

# Update a standard

`PUT /standards/{id}`

Updates a standard

Scoped OAuth requires: `standards.write`

## Path parameters

- `id` string, required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `active` boolean
  - `values` object
    - `regex` string
  - `description` string
  - `inclusions` StandardInclusionExclusion[]
    - `type` 'technical_service_reference'
    - `id` string
  - `exclusions` StandardInclusionExclusion[]
    - `type` 'technical_service_reference'
    - `id` string

## Response `200`

OK

- Standard
  - `active` boolean
  - `description` string
  - `id` string
  - `name` string
  - `type` string
  - `resource_type` 'technical_service'
  - `exclusions` StandardInclusionExclusion[]
    - `type` 'technical_service_reference'
    - `id` string
  - `inclusions` StandardInclusionExclusion[]
    - `type` 'technical_service_reference'
    - `id` string

## Other responses

- `400` — Unprocessable Entity. Some arguments failed validation checks.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `429` — Too many requests have been made, the rate limit has been reached.

---

[API](https://skmtc.net/pagerduty/apis/rest-api.md) · [All operations](https://skmtc.net/pagerduty/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pagerduty/rest-api/revisions/b679a8f3f02c/schema)
