v10

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01384057.2 KB
auth

Add a user

Register a new user with the given public key and role. Requires admin permissions.

post/api/v1/auth/users

Request body

pubkeystring required

The user's public key

rolestring required

Role to assign (e.g., admin, operator, viewer)

Response

User added

{"stackTrail":"components:schemas:NATSEnvelope:properties:result","oasType":"schema","type":"unknown","description":"Response data (structure varies by endpoint — see endpoint examples)"}
errorstring

Error message (present only on failure)