Update a secret
Change some fields of a Secret; null clears one. Creates a new version. Supports If-Match.
Authentication
Use Bearer <api-key>.
Path parameters
Headers
Apply the write only if the current version (the ETag) is this one, for example "3". Returns 412 otherwise.
Optional retry key for this billable operation. Reusing the same key with the same request replays its stable outcome; credential-bearing results may be freshly issued for the same principal. Reusing it with a different request returns 409.
Request
Change some fields; null clears one. Creates a new version.
Restore values of this version; send alone.
Origins a login may be filled into: https://host[:port], or https://*.host for any subdomain.
Response headers
Evaluated policy limit; zero when no finite policy was evaluated.
Remaining policy budget; zero when no finite policy was evaluated.
Seconds until reset; zero when no finite policy was evaluated.
Response
Origins a login may be filled into: https://host[:port], or https://*.host for any subdomain.
Secret path, for example prod/github/bot. May contain /.
The owning subaccount, or null for an organization-wide secret.
login: username, password and TOTP seed for a site. value: one opaque value.
Not secret; readable.
Current version; the ETag of the secret.

