[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
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","scopeId":"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.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