Admin API
The Admin API is a REST(ish) API for server-side management of your Wysp integration.
All endpoints (except Health Check) require an ApiKey sent via the X-Api-Key header.
User Management
Section titled “User Management”| Endpoint | Method | Description |
|---|---|---|
/users | GET | List users with cursor-based pagination |
/users | POST | Create a new user |
/users/{userId} | GET | Get a user |
/users/{userId} | PUT | Update a user |
/users/{userId} | DELETE | Permanently delete a user and all associated data |
Token Management
Section titled “Token Management”| Endpoint | Method | Description |
|---|---|---|
/users/{userId}/issue-token | POST | Issue a short-lived UserToken for the User API. Creates the user if they don’t exist. |
/users/{userId}/revoke-token | POST | Revoke all outstanding tokens for a user |
System
Section titled “System”| Endpoint | Method | Description |
|---|---|---|
/api-keys/rotate | POST | Rotate your ApiKey, with an optional grace period for the old key |
/health | GET | Health check (no auth required) |