> ## Documentation Index
> Fetch the complete documentation index at: https://docs.finhub.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Administration

> APIs for administrative operations

# Administration APIs

APIs for session management, user management, and consent template administration.

## Base URL

```
https://api.finhub.cloud/api/v2.1/admin
```

<CardGroup cols={3}>
  <Card title="Session Management" icon="key" href="/baas/api/reference/administration/session-management">
    Admin session login and management
  </Card>

  <Card title="User Management" icon="users-gear" href="/baas/api/reference/administration/user-management">
    Manage user credentials and access
  </Card>

  <Card title="Consent Templates" icon="file-contract" href="/baas/api/reference/administration/consent-templates">
    Manage consent templates and definitions
  </Card>
</CardGroup>

## Authentication

Admin APIs require elevated permissions. Ensure your access token has the appropriate admin role.

```bash theme={null}
curl -X POST "https://api.finhub.cloud/api/v2.1/admin/session/login" \
  -H "Content-Type: application/json" \
  -H "X-Tenant-ID: 97e7ff29-15f3-49ef-9681-3bbfcce4f6cd" \
  -d '{"username": "admin@tenant.com", "password": "..."}'
```
