—Rate this article—
 

Beta Release of SmartDocs

1. In the Resource URL, replace any values enclosed in "{}", such as your organization name.
2. Set the Basic Authentication credentials. These are your Edge credentials (user must be in the Org Admin role).
3. Tweak the Request Body as needed (if a body is needed).
4. Send the live request to Edge and view the response! You can also view Request data.

Approve or Revoke OAuth 2.0 Access Token

Resource Summary

Auth Type

BASICAUTH,

Content Type

application/octet-stream

Category

OAuth 2.0 Access Token,

approveOAuth2AccessToken

POST

Approve or Revoke OAuth 2.0 Access Token

Approves or revokes an OAuth 2.0 access token.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/oauth2/accesstokens/{access_token}

    Query Parameters

  • Name
    Value
    Description
  • action
    (required)
    Set action to approve or revoke.
  • cascade
    Setting cascade to true causes refresh tokens associated with the access token to be affected by the same action. Setting cascade to false leaves associated refresh tokens unaffected by this action.

    Header Parameters

  • Name
    Value
    Description
  • Content-Type
    (required)
    Specify Content Type to application/octet-stream.

org_name Mention the organization name true

access_token Mention the Access Token true

Basic Auth

OAuth 2

Custom Token

Reset

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)