Login with Username and Password
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
|
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| Your username or email. |
|
| Your password. |
|
| Yor previously issued |
Whilst none of the arguments are required in every request, every request requires some arguments to be provided. You MUST provide either
user
ANDpassword
, or provideresume
.You will need to provide the
authToken
anduserId
for any of the authenticated methods.If your user has two-factor(2FA) authentication enabled, you must send a request like this.
If LDAP authentication is enabled, you must maintain the login in the same way as you normally do. Similarly, if 2FA is enabled for an LDAP user, everything stays the same.
Example Call - As Form Data
With username and password:
With email and password:
Example Call - As JSON
With username and password:
With email and password:
Example Call - When two-factor(2FA) authentication is enabled
With user, password, and code:
With email, password, and code:
Example Response
Change Log
Version | Description |
---|---|
1.0.0 | Added |
0.64.0 | Added |
0.60.0 | Added |
Last updated