Revoke an access token.
DELETE/access_token/:access_token
Revokes the given access credentials immediately. The request must be authenticated with the consumer credentials that created the token; a consumer may only revoke its own access tokens.
Request
Responses
- 200
- 401
- 403
- 404
- default
The access token was revoked.
Credentials were missing or invalid. The response carries
WWW-Authenticate: Basic realm="Feed.fm".
Response Headers
WWW-Authenticate
The authentication challenge. Always Basic realm="Feed.fm".
Example:
Basic realm="Feed.fm"forbidden (code 6) — Access credentials are not owned by the provided consumer credentials: the token exists but belongs to a
different consumer.
missingObject (code 17), from two checks made in this order:
No such access token— no credentials match the token in the path.No such consumer token— the credentials the request authenticated with are not consumer credentials.POST /access_tokenanswers the same condition with a 403forbiddeninstead; the asymmetry is intentional, so handle both.
An error occurred.