PostGroupsByIdGroupPicture
Function: postGroupsByIdGroupPicture()
postGroupsByIdGroupPicture<
ThrowOnError>(options):RequestResult<PostGroupsByIdGroupPictureResponses,PostGroupsByIdGroupPictureErrors,ThrowOnError>
Defined in: app/api/sdk.gen.ts:426
Uploads and associates a profile picture with a specific group. The UploadGroupPicture endpoint handles multipart form-data requests to save an image file and link it to the group identified by the provided ID. This endpoint ensures that only authorized administrators of the group can modify its visual identity. Once processed, the path to the stored image is returned, allowing the client to immediately reference the new asset within the application's interface.
Type Parameters
ThrowOnError
ThrowOnError *extends* boolean = false
Parameters
options
Options<PostGroupsByIdGroupPictureData, ThrowOnError>
Returns
RequestResult<PostGroupsByIdGroupPictureResponses, PostGroupsByIdGroupPictureErrors, ThrowOnError>