/api/users/:id/sessions
Invalidates the access token and user sessions specified by user ID.
Resource Information
Resource URL | https://service.belladati.com/api/users/:username/sessions |
---|---|
HTTP Method | DELETE |
Request Parameters
Parameter | Detail | Example |
---|---|---|
username | Username of the user | johndoe |
Sample Request / Response
Using
curl
:
curl -X "DELETE" -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/johndoe/sessions
When the request has been executed successfully, the server replies with an HTTP status code of 200 and an empty body.
Overview
Content Tools