workspace_id. Saving a name that already exists replaces its value. The value is encrypted, and no list or save call returns it.
This is the way to give a client account’s workspace a secret: that workspace is not in the picker in Settings → Secrets.
Saving does not change a computer that already exists. To put a saved secret on computers, call Apply secrets to many computers.
Body parameters
string
required
Up to 64 letters, digits,
_ and -. Orgo saves it in capitals with - as _, so anthropic-api-key becomes ANTHROPIC_API_KEY.string
required
The secret, up to 8,192 characters. It can’t be empty.
string
A workspace UUID. The secret then belongs to that workspace, and it takes the place of an account secret of the same name there. Left out, or not a UUID, the secret belongs to your account.