Assume IoT user role scoped to a subgroup
POST/v1/groups/:groupId/subgroups/:subGroupId/assumed-roles
Assumes an IoT user role scoped to the specified subgroup. The returned credentials are restricted to this subgroup only.
Open to any authenticated caller that can reach the subgroup: an admin caller or a member with full access to the group may name any subgroup of it (the subgroup must exist), while a member holding only shared subgroups may name one that was shared with it. Any other caller is refused with 403.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Successful response with new credentials
Bad request - group not found or subgroup not found
Unauthorized - Invalid or missing authentication
Forbidden - the caller has no access to this group, or the subgroup was not shared with it
Internal server error