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

Set Role Privileges

Description

Replaces any previous privileges.

Request

Request

URL

URL


put
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 set

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 PUT -H "Content-Type: application/json" -d '{"privilege-key":["string"]}' https://localhost/suite-api/api/auth/roles/{roleName}/privileges


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

Was this page helpful?