[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations

Add Role Privileges

Description

New privileges union with any previous privileges.

Request

Request

URL

URL


post
https://localhost/suite-api/api/auth/roles/{roleName}/privileges
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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 Samples

Code 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
Auth Operations
Feedback

Was this page helpful?