Tags
Create a tag
Create a Tag.
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
post/tags
Request
- Base URLhttps://api.pagerduty.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Acceptstring required
The Accept header is used as a versioning header.
Content-Type'application/json' required
Request body
Example request
{
"tag": {
"type": "tag",
"label": "Batman"
}
}Response
The tag that was created.
Example response
{
"tag": {
"type": "tag",
"label": "Batman"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.