cURL
curl --request PUT \ --url https://api.smokeball.com/groups/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data ' { "principalIds": [ "2595a645-94a2-46be-a60d-8410851a9671", "2595a645-94a2-46be-a60d-8410851a9671" ] } '
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Updates a specified authorization group.
Principals that are members of the group. This can be either user ids or other group ids.
[ "2595a645-94a2-46be-a60d-8410851a9671", "2595a645-94a2-46be-a60d-8410851a9671"]
When request is accepted. Returns a hypermedia 'Link' object of the authorization group to be updated.