v2

latestOpenAPI 3.1.02026-08-06276982.8 KB
secrets

Update secret

Update the description, value, or allowed workspaces for a secret. If a value for a parameter is not specified, it will remain the same.

<Note>Only organization admins can update secrets.</Note>

patch/v2/aihub/secrets

Headers

Authorizationstring required

Bearer HTTP authentication.

IB-Contextstring

Typically your organization ID. See Authorization and context identification for details.

Request body

aliasstring required

Name of the secret to update.

descriptionstring

New description of the secret.

valuestring

New content of the secret.

allowed_workspaces_type'ALL' | 'SOME' | 'NONE'

New designation of which workspaces in this organization are allowed to use this secret in custom functions.

allowed_workspacesstring[]

New designation of which workspaces are allowed to use this secret, if only some are.

Response

Secret updated successfully.

SecretsUpdateSecretResponse200 required

Empty response body