Update a Secret
Secret Management
Update Secret Details
Updates an existing secret or its associated metadata.Updates an existing secret or its associated metadata.
PATCH
Update a Secret
This endpoint allows you to modify one or more properties of a previously registered secret, such as its value, linked tool, or default configuration. Only the fields provided in the request body will be updated, and omitted fields will remain unchanged.Documentation Index
Fetch the complete documentation index at: https://io.net/docs/llms.txt
Use this file to discover all available pages before exploring further.
The API supports multiple authentication mechanisms, but only one needs to be provided per request. You may authenticate using any of the following headers, a browser-issued JWT
token, an Authorization header, or an x-api-key header (io.net API key).The system imposes an overall implementation-specific limit on the total size of stored secrets. If a request attempts to store a secret, or a combination of secrets, that exceeds this limit, the API will return an HTTP 413 (Payload Too Large) error.
Request body parameters:
secret_name – A user-defined identifier for the secret. This value is used to reference and manage the secret in subsequent operations.
secret_value – The confidential value associated with the secret. This value is securely stored and made available to the designated tool when access is authorized.
tool_name – The name of the single tool that is granted access to this secret. This field accepts only one tool identifier, not an array or list.
tool_arg – The specific argument of the tool that this secret applies to.
is_default_for_tool – A boolean flag specifying whether this secret should be automatically applied when the associated tool does not receive a value for the argument. This field is optional when using secrets in workflow YAML configurations, but required when defining secrets for built-in agents.Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
JWT token
io.net provided API Key
API key set by an SDK client
Path Parameters
Body
application/json
Response
Successful Response