Stop Impersonating
POST
/auth/stop-impersonating
const url = 'https://api.mengi.cloud/auth/stop-impersonating';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mengi.cloud/auth/stop-impersonatingRestore the admin’s original session cookie after impersonation.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example