rest_auth
v1
POST /rest-auth/logout/
Calls Django logout method and delete the Token object assigned to the current User object.
Accepts/Returns nothing.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
object required
Response
Example response
{
"detail": "detail"
}Changes
No recorded changes to this operation across all 5 revisions of this API.