v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-23231323.7 KB
Groups

Add user to group

Adds a user to an existing group in Cognito

post/groups/{id}/members

Path parameters

idstring required

the group's ID

Request body

user_idstring required

Response

User added to group

idstring

The group ID

namestring

The group name

precedenceinteger

The priority of the group

createdstring date-time

The date the group was created

last_modified_datestring date-time
role_arnstring
user_pool_idstring

Example response

{
  "created": "YYYY-MM-DD hh:mm:ssZ",
  "last_modified_date": "YYYY-MM-DD hh:mm:ssZ"
}