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