User Group
Retrieves the user group list of the client policy settings with the specified ID. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
Client Policy ID.
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/ClientPolicies/{id}/UserGroup HTTP/1.1
Host:
Accept: */*
[
{
"account": "text",
"type": [
"1 = User",
"2 = Group",
"3 = ForeignSecurityPrincipal",
"4 = Computer"
],
"sid": "text"
}
]
Adds a user to the user group list of the client policy settings. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
Client Policy ID.
Body
Add a new User/Group criteria to the Client Policy
accountstring | nullableOptional
The name of the user/group account.
sidstring | nullableOptional
The SID of the user/group account.
Responses
201
Created
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
POST /api/ClientPolicies/{id}/UserGroup HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 31
{
"account": "text",
"sid": "text"
}
No content
Remove a user from the user group list of the client policy settings. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
Client Policy ID.
Body
Remove a new User/Group criteria from the Client Policy
accountstring | nullableOptional
The name of the user/group account.
sidstring | nullableOptional
The SID of the user/group account.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/ClientPolicies/{id}/UserGroup HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 31
{
"account": "text",
"sid": "text"
}
No content
Was this helpful?