Update the authenticated user

Updates the authorized user.

Required scopes: USER_INFO

Resource URL

PATCH /user

POST Parameters

NameTypeDescription
nameStringThe full name of the authenticated user.
titleStringThe title of the authenticated user.

Example

Request

PATCH https://api.buddy.works/user

JSON

{
  "title": "Creative director"
}

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
  "url": "https://api.buddy.works/user",
  "html_url": "https://app.buddy.works/my-id",
  "id": 1,
  "name": "Mike Benson",
  "avatar_url": "https://app.buddy.works/image-server/user/0/0/0/0/0/0/1/d643744fbe5ebf2906a4d075a5b97110/w/32/32/AVATAR.png",
  "title": "Creative director",
  "workspaces_url": "https://api.buddy.works/workspaces"
}

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.