User

Update the authenticated user

Changed on

Update the authenticated user profile

put/user

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in header x-pollination-token

Request body

typestring

A base class to use when there is no baseclass available to fall on.

namestring required

The display name for this user

picture_urlstring uri required

URL to the picture associated with this user

descriptionstring

A description of the user

Example request

{
  "name": "Ladybug Tools",
  "picture_url": "https://avatars1.githubusercontent.com/u/38131342",
  "description": "Making environmental design knowledge and tools freely accessible to every person, project and design process"
}

Response

Accepted

typestring

A base class to use when there is no baseclass available to fall on.

statusstring

Changes

    • breaking

      the / request property's minLength was increased from 0 to 1

    • breaking

      the / request property format changed from no format to uri

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • warning

      the / request property's maxLength was set to 65536

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status