[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Add Role Privileges
DescriptionNew privileges union with any previous privileges.
Request
URLURL
https://localhost/suite-api/api/auth/roles/{roleName}/privileges
Path Parameters
Path Parameters
string
roleName
Required
The name of the role
Request Body
Request Body
privilege-keys
of type(s) application/json, application/xml
Required
The list of privileges to be added
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PrivilegeKeys
of type(s) application/json, application/xml
The resulting set of privilege keys
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"privilege-key":["string"]}' https://localhost/suite-api/api/auth/roles/{roleName}/privileges
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Auth Operations
post
post
post
put
post
Create Scope
Introduced
post
post
post
delete
delete
Delete Scopes
Introduced
delete
delete
delete
delete
delete
get
Get All Object Scopes
Introduced
get
get
get
get
get
get
Get Scope
Introduced
get
get
get
get
post
put
Modify Scope
Introduced
put
patch
post
delete
put
Synchronize User Groups
Changed
post
put