v1

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

Create a new group

Creates a new group in Cognito user pool

post/groups

Request body

namestring required
precedenceinteger required

Example request

{
  "name": "Th&is is a $£test group!~",
  "precedence": 33
}

Response

The group has been successfully created

idstring

The unique ID of the group

namestring

The human readable name of the group

precedenceinteger

The precedence of the group

Example response

{
  "id": "123-abc-456-def-789-ghi-0",
  "name": "thisisatestgroup",
  "precedence": 33
}