You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

/api/users/:id

Invalidates the access token and user sessions specified by user ID.

Resource Information

 

Request Parameters

Parameter

Detail

Example

idID of the user123

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/123/sessions

When the request has been executed successfully, the server replies with an HTTP status code of 200 and an empty body. 

 

  • No labels