Skip to main content
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' \
  --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.

Headers

x-multiple-integrations
string

Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.

Body

application/json

Account Data

displayName
string
Maximum length: 100
profilePicture
string
refresh
boolean

Response

Success

account
object
required