PUT
/
v1
/
admin
/
account
/
me
cURL
curl --request PUT \
  --url https://api.botpress.cloud/v1/admin/account/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: <api-key>' \
  --data '{
  "displayName": "<string>",
  "profilePicture": "<string>",
  "refresh": true
}'
{
  "account": {
    "id": "<string>",
    "email": "<string>",
    "displayName": "<string>",
    "emailVerified": true,
    "profilePicture": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

x-workspace-id
string
header
required

Your workspace ID.

Body

application/json

Account Data

displayName
string
Maximum length: 100
profilePicture
string
refresh
boolean

Response

200
application/json

Success

account
object
required