credential

Create credential

Changed on

Store an integration credential. It becomes the integration's active credential unless activate is false and the integration already has one. Fails with a conflict when the requested ID already exists.

post/api/credential

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/credential
  • Auth
    none required

Request body

idstring
integrationIDstring required
labelstring
activateboolean

Response

Success

Changes

    • warning

      removed the request property /////

    • warning

      removed the optional property ////// from the response with the status