PeerTube · Example Payload

Revokeoauthtoken

Revokes your access token and its associated refresh token, destroying your current session.

Session

Revokeoauthtoken is an example object payload from PeerTube, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "revokeOAuthToken",
  "method": "POST",
  "path": "/api/v1/users/revoke-token",
  "summary": "Logout",
  "description": "Revokes your access token and its associated refresh token, destroying your current session.",
  "tags": [
    "Session"
  ],
  "parameters": [],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "successful operation",
      "examples": {}
    }
  }
}