Token Endpoints¶
Token Create¶
Use this endpoint to obtain user authentication token. This endpoint is available only if you are using token based authentication.
Default URL: /token/login/
Method | Request | Response |
---|---|---|
POST |
|
|
Token Destroy¶
Use this endpoint to logout user (remove user authentication token). This endpoint is available only if you are using token based authentication.
Default URL: /token/logout/
Method | Request | Response |
---|---|---|
POST |
– | HTTP_204_NO_CONTENT |