Assume IoT user role scoped to a group (super admin only)
POST/v1/groups/:groupId/assumed-roles
Assumes an IoT user role scoped to the specified group. The returned credentials are restricted to this group instead of all of the caller's groups.
Requires the user to have custom:super_admin set to "true" in Cognito,
and the specified group must exist.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Successful response with new credentials
Bad request - group not found
Unauthorized - Invalid or missing authentication
Forbidden - user is not a super admin but tried to use admin parameters
Internal server error