Assign Role Permission To User Group

Assign Role Permission To User Group

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

Request
URI
PUT
https://{api_host}/suite-api/api/auth/usergroups/{groupId}/permissions
COPY
Path Parameters
string
groupId
Required

Identifier of the user group


Request Body

The role permission to assign.

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

Show optional properties

{
    "roleName": "string"
}
"No Custom Example is Available"
string
roleName
Required

The role name.

string As uuid As uuid
scopeId
Optional

The id of the scope

array of object
traversal-spec-instances
Optional

Collection of traversal specification instances

boolean
allowAllObjects
Optional

If true then ignore traversal specifications and allow all objects

array of object
links
Optional

Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.

Authentication
This operation uses the following authentication methods.
Responses
200

The Updated Role Permissions object

Returns role-permissions of type(s) application/json
"No Custom Example is Available"
array of object
permissions
Optional

list of role permissions


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"roleName:"string"}' https://{api_host}/suite-api/api/auth/usergroups/{groupId}/permissions
                
Auth Operations
GET
Get Users
PUT
Modify User
POST
Create User
DELETE
Delete Users
PUT
Assign Traversal Spec To User
Deprecated
GET
Get Assigned Role Permissions For User
PUT
Assign Role Permission To User
PUT
Change Password
GET
Get User Groups
PUT
Modify User Group
POST
Create User Group
DELETE
Delete User Groups
PUT
Assign Traversal Spec To User Group
Deprecated
GET
Get Assigned Role Permissions For User Group
PUT
Assign Role Permission To User Group
GET
Get Auth Sources
PUT
Update Auth Source
POST
Add Auth Source
PATCH
Patch Auth Source With Certificate Details
PUT
Synchronize User Groups
GET
Get All Object Scopes
PUT
Modify Scope
POST
Create Scope
DELETE
Delete Scopes
GET
Get Roles
PUT
Update User Role
POST
Create User Role
GET
Get Role Privileges
PUT
Set Role Privileges
POST
Add Role Privileges
DELETE
Remove Role Privileges
POST
Release Token
POST
Acquire Token
POST
Import Users
POST
Search Users For Auth Source
POST
Search User Groups For Auth Source
POST
Test Auth Source
PATCH
Patch Test Auth Source
GET
Get User
DELETE
Delete User
GET
Get User Group
DELETE
Delete User Group
GET
Get Traversal Specs
GET
Get Auth Source Types
GET
Get Auth Source Type
GET
Get Auth Source
DELETE
Delete Auth Source
GET
Get Scope
GET
Get Role By Name
DELETE
Delete User Role
GET
Get Available Privileges
GET
Get Available Privilege Groups
GET
Get Current User
GET
Get Current User Role Privileges
GET
Get Assigned Role Permissions For Current User
DELETE
Unassigned Role Permission From User
DELETE
Unassigned Role Permission From User Group