Secrets

Choose Always, Ask or Never for the caller's own use of a secret

Changed on

Sets the calling member's own rule on a secret they are allowed to use: allow (always), ask, block (never), or default to clear it. Choosing allow needs a recent sign-in and is refused when the organization asks every time.

put/v1/org/my-secrets/{secretId}/rule

Request

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

Path parameters

secretId, string required

Request body

SetMyOrganizationSecretRuleRequest required
rule, 'allow' | 'ask' | 'block' | 'default' required

Response

The secret with the caller's updated rule.

MyOrganizationSecret required
secret, UsableOrganizationSecret required
access, object required
lastUsedAt, string date-time nullable required

Changes