v5
latestOpenAPI 3.1.02026-07-31151195455.5 KBgroups
Adds a resource to a group.
post/groups/{group_id}/resources/{resource_id}
Path parameters
group_idstring uuid required
The ID of the group.
resource_idstring uuid required
The ID of the resource.
Query parameters
access_level_remote_idstring
The remote ID of the access level to grant to this user. If omitted, the default access level remote ID value (empty string) is used.
Request body
Example request
{
"access_level_remote_id": "arn:aws:iam::590304332660:role/AdministratorAccess",
"duration_minutes": 60
}Response
The created GroupResource object.
Example response
{
"group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
"resource_id": "b5a5ca27-0ea3-4d86-9199-2126d57d1fbd",
"access_level_remote_id": "write"
}