integrations

Lock an OAuth integration connection to a package so only that package (and any previously granted packages) can call...

Lock an OAuth integration connection to a package so only that package (and any previously granted packages) can call createAuthenticatedFetch / token refresh. Execute and other packages are denied. Agents can lock; unlocking or removing a grant is website-only at /account/integrations/:name. This capability cannot loosen usage. integrationSave still cannot change usageMode.

Org permission: integration:use.

post/v1/integrations/{name}/lock

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/integrations/{name}/lock
  • Auth: HTTP bearer

Path parameters

namestring required

Saved integration connection name (provider key).

Request body

package_idstring required

Saved package id that may use this integration.

Response

Success.

namestring required
usage_mode'packages' required
allowed_package_idsstring[] required
usage_urlstring required

Changes

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