Self-Hosted APIs
Reset Admin Password (Self-Hosted)
Change the password for the currently authenticated admin user on a self-hosted Databrain instance. Self-hosted only.
POST
Change the password for the admin user identified by the current authentication token. Requires the current password and the new password. The new password should meet the same complexity rules as sign-up (see Create Admin Account).
On error, the API returns a JSON object with
Authentication
Use a valid admin JWT in theAuthorization header. Obtain one via Create Admin JWT.
Headers
string
required
Bearer token for the admin whose password is being changed.
string
required
Must be
application/json when sending a JSON body.Request Body
string
required
The admin’s current password.
string
required
The new password. Should meet the same requirements as sign-up: minimum 8 characters, at least one uppercase, one lowercase, one digit, one special character, no spaces.
Response
On success, the API returns 200 with a JSON object:object
Wrapper object for the response payload.
boolean
true when the password was changed successfully.error.code and error.message and an appropriate HTTP status (400 or 500).
Examples
HTTP Status Code Summary
Possible Errors
Related
- Create Admin JWT – Sign in to get an access token
- Create Admin Account – Create the first admin account

