Skip to main content
PUT
https://ageneral.ai
/
v1
/
nodes
/
{node_id}
/
secrets
/
{name}
Put node secret
curl --request PUT \
  --url https://ageneral.ai/v1/nodes/{node_id}/secrets/{name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Session JWT or node identity token where applicable. Send as Authorization: Bearer <token>.

Path Parameters

node_id
string
required
name
string
required

Body

application/json

Body carries value; node_id and name are path parameters.

value
string
required

Response

Success

The response is of type object.