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

Assign Role Permission To User

Description

Replaces the existing role permission entirety if it exists already for the named role.

Request

Request

URL

URL


put
https://localhost/suite-api/api/auth/users/{userId}/permissions
Copy

Path Parameters

Path Parameters

string
userId Required

Identifier of the user to which the role permission needs to be assigned


Request Body

Request Body

role-permission of type(s) application/json, application/xml Required

The role permission to assign

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns RolePermissions of type(s) application/json, application/xml

The Updated Role Permissions object

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"allowAllObjects":false,"links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"roleName":"string","traversal-spec-instances":[{"adapterKind":"string","includedAdapterKinds":["string"],"name":"string","resourceKind":"string","resourceSelection":[{"resourceId":["string"],"type":"PROPAGATE"}],"selectAllResources":false}]}' https://localhost/suite-api/api/auth/users/{userId}/permissions


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

Was this page helpful?