Planka icon

Planka

Interact with Planka API 2.0

User → Upload Avatar

AI-generated

Summary

Uploads a binary file as the avatar for a Planka user. Set the user ID and the name of the incoming binary property; the operation sends the file to Planka and returns the API response as JSON.

Inputs

  • User ID (required) — ID of the user whose avatar to upload.
  • Binary Property (required) — Name of the input binary property containing the file to upload; defaults to data.

Output shape

A single item containing the Planka API response as JSON.

The file is sent as multipart form data. If its filename or MIME type is unavailable, the request uses avatar and image/png respectively.

Links

Discussion