|docs
Start Trial

Assign tags

Assign existing or new tags.

A Tag is applied to Escalation Policies, Teams or Users and can be used to filter them.

For more information see the API Concepts Document

Scoped OAuth requires: tags.write

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Path Parameters

entity_type*string

Type of entity related with the tag

Value in

  • "users"
  • "teams"
  • "escalation_policies"
id*string

The ID of the resource.

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Tags to add to or remove from the entity.

Response Body

application/json

application/json

application/json

application/json

application/json

Developer Agreement

Your access to and use of the PagerDuty Developer Services is governed by the PagerDuty Developer Agreement.