cURL
curl --request PUT \ --url https://api.onecli.sh/v1/agents/{agentId}/secrets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "secretIds": [ "<string>" ] } '
{ "success": true }
Replaces the full list of secrets assigned to this agent.
Documentation IndexFetch the complete documentation index at: https://onecli.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key obtained from the dashboard or GET /user/api-key
GET /user/api-key
Array of secret IDs to assign
Secrets updated