Unassign Policy

Unassign Policy

Unassign policy from given groups, and objects.

Request
URI
PUT
https://{api_host}/suite-api/api/policies/{id}/unassign
COPY
Path Parameters
string
id
Required

id


Request Body

The Policy unassignment object carrying ids of groups, and objects

policy-unassignment-param of type(s) application/json
Required
"{\n  \"groupIds\" : [ \"12c7a69b-1134-4e5f-8e3c-436b8184e207\", \"2d822131-1f27-4263-90a5-a9ee8396981e\" ],\n  \"resourceIds\" : [ \"d6f04b4b-4232-4f2a-8431-72f89a8c9a0e\", \"98be0fd2-95ce-4ed2-97fd-2c40856fc624\" ]\n}"
array of string
groupIds
Optional

Custom group ids, for policy unassignment

array of string
resourceIds
Optional

Resource ids, for policy unassignment

Authentication
This operation uses the following authentication methods.
Responses
200

The policy unassigned successfully

Returns policy-associations-update-result of type(s) application/json
"No Custom Example is Available"
array of string
assignedGroupIds
Optional

Custom group ids, of updated policy group associations

array of string
assignedResourceIds
Optional

Resource ids, of updated resource group associations

array of string
failedGroupIds
Optional

Invalid custom group ids

array of string
failedResourceIds
Optional

Invalid resource ids


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/suite-api/api/policies/{id}/unassign