Change several objects as one revision (admin)
PUT
/api/v1/config
pvmon examines the full configuration before it saves the changes.
Authorizations
session
Type
API Key (cookie: pvmon_session)
or
token
API token pvm_<id>_<secret>.
Type
HTTP (bearer)
Request Body
application/json
JSON "objects": [ { "kind": "connection", "id": "string", "body": { "additionalProperties": "string" } } ]
{
}
Responses
The new configuration.
application/json
JSON "config_rev": 0, "objects": [ { "kind": "connection", "id": "string", "locked": true, "body": { "additionalProperties": "string" }, "updated_at": "2024-01-01T00:00:00Z", "updated_by": "string", "unreadable": [ "string" ] } ], "settings": { "additionalProperties": { "value": "string", "locked": true, "stored": true } }
{
}