Integration Instance Auth Config

Upsert Integration Instance Auth Config

Changed on

Upserts auth config scoped to the given integration instance.

put/v1/integration-instances/{integrationInstanceId}/auth-config

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

integrationInstanceId, string required
Example:3f51fa25-310a-421d-bd1a-007f859021a3

The id of the integration instance.

Request body

UpsertIntegrationInstanceAuthConfig required
type, 'oauth' required
client_id, string required

The OAuth client identifier.

client_secret, string required

The OAuth client secret.

authorization_endpoint, string uri required

The URL where users are redirected to authorize access.

token_endpoint, string uri required

The URL used to retrieve access tokens.

Example request

{
  "client_id": "d745213a-b7e8-4998-abe3-41f164001970",
  "client_secret": "s3cr3t4p1cl13ntt0k3n1234567890abcdef",
  "authorization_endpoint": "https://identity.service.com/oauth/authorize",
  "token_endpoint": "https://identity.service.com/oauth/token"
}

Response

A response containing integration instance auth config.

IntegrationInstanceAuthConfig required
type, 'oauth' required
client_id, string required

The OAuth client identifier.

authorization_endpoint, string uri required

The URL where users are redirected to authorize access.

token_endpoint, string uri required

The URL used to retrieve access tokens.

Example response

{
  "client_id": "d745213a-b7e8-4998-abe3-41f164001970",
  "authorization_endpoint": "https://identity.service.com/oauth/authorize",
  "token_endpoint": "https://identity.service.com/oauth/token"
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status