Table of Contents

Search

  1. Preface
  2. Introduction to API Manager
  3. API management
  4. Organizational access policies
  5. API-specific policies
  6. API groups
  7. Authentication and authorization
  8. API Microgateway Service
  9. Analytics

API Manager Guide

API Manager Guide

Disable and enable OAuth 2.0 clients for the API Microgateway Service

Disable and enable OAuth 2.0 clients for the API Microgateway Service

When you create an OAuth 2.0 client for the API Microgateway Service, it is enabled by default. You can disable a client and enable a disabled client. API consumers can't use disabled OAuth 2.0 clients for authentication.
  1. Open the following URL template:
    https://{<host_URL>}/apimgmt/v0.4/oauth/client/{<clientID>}/{state}
    Where
    <host>
    is the machine that hosts the Secure Agent that runs the API Microgateway Service.
  2. In the
    "state"
    field, enter
    "disable"
    .
  3. Invoke a POST call.
    The response body shows the state as
    "DISABLED"
    .
  4. To enable a disabled Auth 2.0 client, in the
    "state"
    field, enter
    "enable"
    .
  5. Invoke a POST call.
    The response body shows the state as
    "ENABLED"
    .

0 COMMENTS

We’d like to hear from you!