[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Assign Role Permission To User
DescriptionReplaces the existing role permission entirety if it exists already for the named role.
Request
URLURL
https://localhost/suite-api/api/auth/users/{userId}/permissions
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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 SamplesCode 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
On This Page
Auth Operations
post
post
post
put
post
post
post
delete
delete
delete
delete
delete
delete
get
get
get
get
get
get
get
get
get
post
put
patch
post
delete
post
put