Skip to main content

MachineAccountBulkUpdateRequest

The machine accounts to update and the JSON Patch to apply to each of them.

Properties​

NameTypeDescriptionNotes
ids[]strIDs of the machine accounts to update. Provide between 1 and 100 IDs.[required]
json_patch[]JsonPatchOperationJSON Patch operations to apply to every machine account in ids. Each operation must target one of these top-level fields: description, subtype, environment, machineIdentity, ownerIdentity, owners, or manuallyEdited. owners is accepted only when expanded machine account ownership is enabled for the tenant, and may only be replaced at /owners, /owners/primary, or /owners/secondary. Do not patch ownerIdentity and owners in the same request.[required]
}

Example​

from sailpoint.machine_accounts.models.machine_account_bulk_update_request import MachineAccountBulkUpdateRequest

machine_account_bulk_update_request = MachineAccountBulkUpdateRequest(
ids=["ef38f94347e94562b5bb8424a56397d8","2c9180835d2e5168015d32f890ca1581"],
json_patch=[{"op":"replace","path":"/environment","value":"PROD"}]
)

[Back to top]