Secrets

Clear an Allow, Ask, or Block rule on a secret

Changed on

Removes a specific subject rule on a secret so it falls back to inherited rules.

delete/v1/org/secrets/{secretId}/rules/{subjectKind}/{subjectId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

secretId, string required
subjectKind, 'organization' | 'team' | 'member' | 'agent' required
subjectId, string required

Response

Updated secret detail.

OrganizationSecretDetailResponse required
secret, OrganizationSecretSummary required
blindUse, object required
rules, OrganizationSecretRule[] required

Changes

    • breaking

      removed the required property secret/sshFingerprint from the response with the status

    • breaking

      removed the required property secret/sshPublicKey from the response with the status

    • breaking

      removed the required property secret/targetConnectionId from the response with the status

    1 more change in this revision