Skip to main content
 print this page

Update users attached to an AWS console access role

PUT 

/aws-roles/:id

Replaces UsersAttached on the role. Required body key UsersAttached (else IPV-1038). Empty list detaches all users. Each listed user must be valid and active (else GE-1034 → HTTP 500). Missing RoleId → GE-1034 HTTP 500. Updates each user's AwsRoles map and the console-access roles table. Success Message is "User access on role updated successfully!". Role name, description, and permissions are not editable here.

Request

Responses

UsersAttached updated (UpdateAwsSystemRoleResponse).

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers