cURL
curl --request PATCH \ --url https://api.example.com/api/groups/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "users": [ 123 ], "permissions": [ 123 ] } '
{ "id": 123, "name": "<string>", "users": [ 123 ], "permissions": [ 123 ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
JWT token obtained from AWS Cognito or custom authentication service
A unique integer value identifying this group.
Group name
List of user IDs
List of permission IDs
Group updated successfully
Group object with all details
Group ID
List of user IDs in this group
List of permission IDs for this group
Group creation timestamp
Group last update timestamp