Bulk Hold User Or Group V2

Bulk Hold User Or Group V2

All the listed privileges are required -

Privileges Description
FORENSICS Caller should have permission to this privilege, to perform this operation.
Request
URI
POST
https://{api_host}/rest/external/v2/ad-users-or-groups/action/hold
COPY
Request Body
Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "ad_user_or_group_id": "S-1-5-21-1111111111-2222222222-3333333333-513",
        "errors": [
            {
                "error_key": "inventory.machine.not.found",
                "error_message": "username cannot be empty"
            }
        ],
        "machines_data": [
            {
                "machine_id": "vm-416",
                "machine_state": "Connected",
                "name": "Win10"
            }
        ],
        "status_code": 200,
        "timestamp": 1561939200000
    }
]

400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure