Actions54
- Action Actions
- Country Actions
- Event Actions
- kSuite Actions
- Language Actions
- Product Actions
- Profile Actions
- Task Actions
- Timezone Actions
- User Management Actions
Profile → Upload Avatar
AI-generatedSummary
Upload a base64 encoded image as the user's profile avatar on Infomaniak.
Inputs
- Avatar Data (required) — A collection containing the base64 encoded avatar image string (avatar) and its encoding type (encoding, default is 'base64').
Output shape
a single-item JSON array containing the upload response data from Infomaniak API.
The operation sends a POST request to the '/profile/avatar' endpoint with the provided avatar data. The response includes details about the uploaded avatar. If the encoding field is omitted, it defaults to 'base64'.
Examples
Example 1: Uploading a new profile avatar
Provide the image data as a base64 string under 'avatar' and specify the encoding if not base64.