Skip to main content
Call this endpoint to end the current Dashboard session. Shogun immediately invalidates the session associated with your access token. After logout, the token can no longer be used to authenticate requests.

Endpoint

POST https://baasapi.payrepmfb.com/api/v1/auth/web/logout
Authentication required: Authorization: Bearer <access_token>

Request body

No request body is required.

Example request

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/auth/web/logout \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
  --header 'Content-Type: application/json'

Response

A successful request confirms that the session has been invalidated.
{
  "status": true,
  "response_code": "00",
  "message": "Success",
  "data": {}
}