Generate a service token (deprecated)
POST/api/auth/service-token
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Generates a service-to-service JWT token for the specified account and role. This endpoint is deprecated — use the Account API instead. Requires the aiphoriaStaff role.
Request
Responses
- 200
- 401
- 500
Returns the generated service token.
Authentication failed — token is missing, expired, or invalid.
An unexpected server error occurred.