Generate bearer token
POST/nevisidm/api/principal/v1/token
Required permission(s): SelfAdmin Role
Generates a bearer JWT token for the currently authenticated caller user.
The caller must provide their loginId and password in the request body for verification. Only the 'password' grant type is supported. The username must match the loginId of the currently authenticated user.
The generated token can be used for subsequent requests that require elevated access to protected resource parameters (e.g., modifying email address or user status). Add the token to the X-Token header of the request.
Request
Responses
- 200
- 403
- 422
Bearer token generated successfully
Response Headers
Cache-Control
no-store
Pragma
no-cache
Insufficient permissions
Invalid token request