Sign in

Logout user

documented

End the current session for the authenticated user.

POST /api/v4/users/logoutUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}/api/v4/users/logout" -X POST -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Content-Type: application/json" -H "Accept: application/json" -d '{}'
Logout user · Mattermost · OpenIntegrations