Script Connections

Create or update a script credential binding

post/api/credential-bindings

Request body

idstring uuid
configKeystring required
allowedHostsstring[] required
headerTemplatestring
queryTemplatestring
scope'global' | 'agent' | 'repo'
scopeIdstring nullable
activeboolean
authKind'config' | 'oauth'
oauthAuthorizationIdstring

Response

Saved credential binding

Changes

Changed in 4 of the 104 revisions of this API.115

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

  • 5caa2f4d1afb11See the full diff
    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation