Skip to main content

Set the persistent flag of an inventory administrator

PATCH 

/computers/:computerId/admins

Marks an inventory administrator as persistent (always a local administrator, never removed after a session) or not.

Identify the account with sid, or with id (user, group, or computer object id). When both are sent, sid wins. persistent is required and must be a boolean (or the string true or false when urlencoded); any other value, a missing persistent, or neither sid nor id, is 422 Missing required parameters. A malformed id is 422 Invalid User ID: "<value>"; an unknown one 422 Invalid Admin ID.

Returns 409 Administrator not in inventory if the account is not in the inventory, and 422 if persistence is not allowed (Linux with Netwrix directory bridging and a domain account: a message that a domain account on a Netwrix-bridged computer cannot be persistent).

Required role: superadmin or admin.

Request​

Responses​

Administrator updated.