Disconnect
POST
Protected with the middleware
To disconnect a session, send a POST request to the /Disconnect endpoint using curl. Ensure to include an appropriate authorization token in the request header for authentication, replacing '******' with the actual token. This request is intended for environments running on localhost at port 8080.
curl --location --request POST 'localhost:8080/Disconnect' \
--header 'Authorization: ******'Success Response :
{
"message": "Deconnexion réussie",
"status": 200
}Last updated