pagerduty update-ruleset
Update a rulesets
Description
Update a Rulesets
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: required
id
- (string)
The ID of the resource.
Example: --id "id-1"
Default: _None_
Attributes: required
name
- (string)
Name of the Ruleset.
Example: --name "name-1"
Default: _None_
Attributes: optional
id
- (string)
The ID of the team
Example: --id "PQ9K7I8"
Default: _None_
Attributes: required
Examples
Input:
Output:{
"ruleset": {
"created_at": "2022-11-14T10:10:00Z",
"creator": null,
"id": "c5395c19-e840-4c50-89f6-040ac651f24e",
"name": "updatesName",
"routing_keys": ["R0274VPG9G77QAUEKEXQUEVMV1ACVK13"],
"self": "https://api.pagerduty.com/rulesets/c5395c19-e840-4c50-89f6-040ac651f24e",
"team": null,
"type": "global",
"updated_at": "2022-11-14T11:03:50Z",
"updater": null
}
}
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "pagerduty" |
Service Instance | |
Namespace | |
Object Type | "ruleset" |
Object ID | id |
Please see Access Control for details.