Pipelines

Set up pipeline OAuth

Creates the OAuth client once and returns its plaintext secret. Returns a conflict when credentials already exist.

post/api/v1/pipelines/{pipelineId}/oauth/setup

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/pipelines/{pipelineId}/oauth/setup
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

pipelineIdstring required

Response

The new OAuth credentials.

upsertedKeysstring[] required
failedKeysstring[] required
requiresRedeployboolean required
outcome'created' | 'rotated' required
clientIdstring required
clientSecretstring required
issuerstring uri required
redirectUrisstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.