Logout active user

POST /api/logout/

Logout active user or delete token

Body

Body

Body

Responses

  • 201 application/json
POST /api/logout/
curl \
 --request POST 'https://vendorms.pythonanywhere.com/api/logout/' \
 --header "Authorization: Token $ACCESS_TOKEN" \
 --header "Content-Type: application/json"
curl \
 --request POST 'https://vendorms.pythonanywhere.com/api/logout/' \
 --header "Authorization: Token $ACCESS_TOKEN" \
 --header "Content-Type: application/x-www-form-urlencoded"
curl \
 --request POST 'https://vendorms.pythonanywhere.com/api/logout/' \
 --header "Authorization: Token $ACCESS_TOKEN" \
 --header "Content-Type: multipart/form-data"