Set a Group's Logo
PUT/groups/:groupID/logo
Uploads a logo for a group, replacing its current logo. Requires the contacts role.
Send multipart/form-data with the image file in the content part. Any image format is accepted, up to 10 MB. The server never fetches remote URLs; upload the image bytes.
Smart, 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 - content is not a file, not an image or larger than 10 MB, or the group cannot be changed. File errors are keyed by content; a group that cannot be changed has the reason in message.