logoff
This endpoint is used to logoff user via rest api call. You can force sign out user from all WordPress instances or all others.
Resource URL
http://localhost/api/userplus/logoff/
Method
POST
Required Parameters
- cookie or jwt (jwt can be also sent via bearer authorization header )
- key – get API key from Settings > User Plus
- type - 'all' or 'others'
Sample Request URL
http://localhost/api/userplus/logoff/?key=KEY-HERE&cookie=COOKIE-HERE&type=others
Sample Response
{
"status": "ok",
"loggedin": true,
"user_id": 16
}