secrets

Revoke one org's grant of your personal credential (ADR 0068).

Revoke one org's grant of your personal credential (ADR 0068). Your runs in that org stop resolving it right away; the credential itself stays in your personal org. Needs Write on the credential and a live person, and is audited in your personal org.

Org permission: none (touches no org data).

delete/v1/personal-credential-grants/{credential_id}/{org}

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/personal-credential-grants/{credential_id}/{org}
  • Auth: HTTP bearer

Path parameters

credential_idstring required

Credential id of a secret, OAuth connection, or MCP server in your personal org (secretList or credentialList there).

orgstring required

Slug of the org. Defaults to the org this request is bound to when that is not your personal org.

Response

Success.

credential_idstring required
revokedboolean required

False when the credential was not granted to the org.

Changes

No recorded changes to this operation across all 3 revisions of this API.