Assign policy to group
- Print
- PDF
Assign policy to group
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
- Assign a policy to a group.
API
- POST /groups/{groupId}/policies
Request
Path Variables
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
groupId | Y | String | Group Id |
Body
{
"policyIdList": [
"string"
]
}
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
policyIdList | Y | array | Policy ID list |
Response
- Response
Parameter | Required | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Result of processing |
- Response Example - Success
[
{
"success": true,
"id": "policyId1"
}
]
- Response Example - Unregistered policy
[
{
"success": false,
"id": "policyId2",
"message": "This policy isn't registered."
}
]
Was this article helpful?