🆔 Profile

Set profile picture

put/api/{session}/profile/picture

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/profile/picture
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

Request body

Example request

{
  "file": {
    "mimetype": "image/jpeg",
    "filename": "filename.jpg",
    "url": "https://picsum.photos/1024"
  }
}

Response

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.