Bulk Delete GDE Entitlements

Bulk Delete GDE Entitlements

Note: CPA must be initialized for the pod for invoking this API.
The input spec must not contain duplicate Ids.All the listed privileges are required -

Privileges Description
FEDERATED_LDAP_MANAGE Caller should have permission to this privilege, on the associated access group of global desktop entitlement.
Request
URI
DELETE
https://{api_host}/rest/entitlements/v1/global-desktop-entitlements
COPY
Request Body
Array of EntitlementSpec of type(s) application/json
Optional
[
    {
        "ad_user_or_group_ids": [
            "S-1-1-1-3965912346-1012345398-3123456564-123",
            "S-1-2-3-3123456786-1012345398-3123456784-124"
        ],
        "id": "855ea6c5-720a-41e1-96f4-958c90e6e424"
    }
]
Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "details": [
            {
                "ad_user_or_group_id": "S-1-5-21-2898529287-1016622242-505487308-500",
                "error_messages": [
                    "Entity does not exists.",
                    "Property is mandatory."
                ],
                "errors": [
                    {
                        "error_key": "inventory.machine.not.found",
                        "error_message": "username cannot be empty"
                    }
                ],
                "status_code": 200,
                "timestamp": 1561939200000
            }
        ],
        "error_messages": [
            "Entity does not exists.",
            "Property is mandatory."
        ],
        "errors": [
            {
                "error_key": "inventory.machine.not.found",
                "error_message": "username cannot be empty"
            }
        ],
        "id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
        "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

409

Conflict | CPA not initialized for the pod

Operation doesn't return any data structure