Update Switch Time Template
This request changes switch time template attributes.
Resource
PATCH /switchtimetemplates/<OID>
Where OID is the oid of the switch time template
Parameters
None
Payload
Fields
| Name | Patch Operations |
|---|---|
commonName |
|
switchTime |
|
Response
None
Context
| Authorization |
Administrator |
Errors
Example
Request
PATCH https://xelion.nl/api/v1/master/switchtimetemplates/1627410
Payload
{
"operations": [
{
"op": "add",
"path": "/switchTime/1"
},
{
"op": "replace",
"path": "/switchTime/1/day",
"value": "monday"
}
]
}