Skip to main content
All admin endpoints require either:
  • An x-internal-secret header matching the server’s INTERNAL_SECRET environment variable, or
  • A Bearer token from a user with accessFlags.isNullDropTeam = true and nullDropTeamRole of founder or dev

List users

GET /api/admin/users
Returns a paginated list of all users with their DROP service entitlements.
number
Page number. Defaults to 1.
number
Users per page. Defaults to 50.

Response 200


Get user stats

GET /api/admin/users/stats
Returns aggregate user statistics for the platform.

Response 200


Update user service

PATCH /api/admin/users/{userId}
Updates or creates a service entitlement for a specific user. All changes are recorded in the audit log.
string
required
The target user’s ID.
string
required
Service identifier (e.g., DROP).
string
Service tier (e.g., free, pro-lite, pro, enterprise).
boolean
Whether the user has premium access.
object
Custom access flags (e.g., { "isNullDropTeam": true, "nullDropTeamRole": "dev" }).
object
Arbitrary metadata.
number
Custom storage limit override in bytes.
number
Custom API key limit override.

Response 200

Response 404