v5
latestOpenAPI 3.1.02026-07-31151195455.5 KBgroups
Updates a user's access level or duration in this group.
put/groups/{group_id}/users/{user_id}
Path parameters
group_idstring uuid required
The ID of the group.
user_idstring uuid required
The ID of the user whose access is being updated.
Request body
Example request
{
"duration_minutes": 60,
"access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess"
}Response
The GroupUser was successfully updated.
Example response
{
"full_name": "Jake Barnes",
"user_id": "29827fb8-f2dd-4e80-9576-28e31e9934ac",
"group_id": "1b978423-db0a-4037-a4cf-f79c60cb67b3",
"expiration_date": "2022-01-23T04:56:07Z",
"email": "jake@company.dev"
}