Skip to main content
POST
https://sandbox.finhub.cloud
/
api
/
v2.1
/
admin
/
users
/
login
/
reset
User Management API
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/admin/users/login/reset \
  --header 'Authorization: <authorization>' \
  --header 'X-Tenant-ID: <x-tenant-id>'
{
  "success": true,
  "data": {
    "message": "Credentials reset successfully"
  }
}

User Management API

APIs for managing user credentials, roles, and access permissions.
Base URL: https://sandbox.finhub.cloud

Available Operations

Reset Login

POST /admin/users/login/reset

Update Credentials

PUT /admin/users/{userId}/credentials

Reset User Login

Resets credentials for a specific user.

Request

Authorization
string
required
Bearer token for authentication
X-Tenant-ID
string
required
Tenant identifier

Code Examples

curl -X POST "https://sandbox.finhub.cloud/api/v2.1/admin/users/login/reset" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "X-Tenant-ID: YOUR_TENANT_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "data": {
    "message": "Credentials reset successfully"
  }
}

Update User Credentials

Updates credentials for a specific user.

Request

userId
string
required
User identifier
Authorization
string
required
Bearer token for authentication
X-Tenant-ID
string
required
Tenant identifier

Code Examples

curl -X PUT "https://sandbox.finhub.cloud/api/v2.1/admin/users/user_12345/credentials" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "X-Tenant-ID: YOUR_TENANT_ID" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "data": {
    "userId": "user_12345",
    "message": "Credentials updated successfully"
  }
}

Response Codes

CodeDescription
200Operation successful
400Invalid request data
401Not Authorized
403Not Allowed
404User not found
500Internal server error