v1
latestOpenAPI 3.0.22026-07-17373198641.7 KBrest_auth
v1
Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework
Accept the following POST parameters: username, password Return the REST Framework Token Object's key.
post/rest-auth/login/
Request body
Example request
{
"password": "password",
"email": "email",
"username": "username"
}Response
Example response
{
"user_name": "user_name",
"user": "user",
"key": "key"
}