Revoke an access token
POST https://zoom.us/oauth/revoke
Revoking an Access Token
Supply the
access_token
you wish to revoke to the query params.
Navigate to the Auth tab and under
Basic Auth
fill in the following:
- Username: [Client_ID]
- Password: [Client_Secret]
Remember, you can always use the [global variables] feature and syntax within Qodex or directly paste those values in the respective form fields if you do not wish to edit/use the global variables feature.
Alternatively, you can clear the Auth tab fields, and use the
Headers
tab per our Zoom documentation
.
If you go this route, make sure to re-check the
Headers
key-value field boxes and
Base64-encode
the
Client_ID:Client_Secret
(with the colon between the two and no spaces) before pasting in the
Authorization
value field.
Once you're done, send the POST request to
https://zoom.us/oauth/revoke
(already pre-populated in this request for you).
Here's an example request to revoke an access token:
POST /oauth/revoke HTTP/1.1
Host: zoom.us
Authorization: Basic base64Encode(client_id:client_secret)
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 4
token=[ACCESS TOKEN]
If successful, the response body will be a JSON representation of your user's refreshed access token like this:
{
"status": "success"
}
Developer Documentation:
Request Params
| Key | Datatype | Required | Description | | `` | null | | |
Request Body
[{"name"=>"token", "value"=>"[access_token]", "datatype"=>"string"}]
HEADERS
| Key | Datatype | Required | Description |
| Authorization
| string | | The string Basic with your Client ID and Client Secret separated with colon (:), Base64-encoded. |
| Content-Type
| string | | |
RESPONSES
status: ``