Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your workspace ID.
Body
application/json
Account Data
Response
Success
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"
}
}Update details of the account associated with authenticated user
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"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your workspace ID.
Account Data
Success
Show child attributes
Was this page helpful?