Attach / Remove Role to User

Attach User to Role

Step 1: Create role, policy, and attach policy to role - Attach / Remove Policy to Role

Step 2: Attach User to Role

Endpoint: POST: /api/iam/principal/role/member?identifier={role_identifier}

{
  "principals": [
    "user_identifier"
  ]
}

Remove User from Role

Endpoint: DELETE: /api/iam/principal/role/member?identifier={role_identifier}

{
  "principals": [
    "user_identifier"
  ]
}

Last updated