Update a Group
PUT/groups/:groupID
Updates a group. Requires the contacts role. PATCH is also accepted.
Every field is optional; only the fields sent are changed. Send application/json. Unknown fields are ignored. To change the logo, use Set a Group's Logo or Delete a Group's Logo.
Managed, archived, hidden and shared (not owned by your organisation) groups cannot be changed; these are rejected with a 422 whose message gives the reason.
Request
Responses
- 200
- 403
- 404
- 422
OK
Forbidden - you do not hold the contacts role.
Not Found - the group does not exist, or is not accessible to you.
Unprocessable Entity - the group cannot be changed (reason in message), or failed validation (errors keyed by label).