🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl -X PUT https://api.portkey.ai/v1/secret-references/SECRET_REFERENCE_ID \
-H "x-portkey-api-key: PORTKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "updated-secret-name",
"secret_path": "prod/api-keys/updated"
}'{}curl -X PUT https://api.portkey.ai/v1/secret-references/SECRET_REFERENCE_ID \
-H "x-portkey-api-key: PORTKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "updated-secret-name",
"secret_path": "prod/api-keys/updated"
}'{}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
UUID or slug of the secret reference
1 - 2551024Merged with existing config, validated against existing manager_type
1024255When true, all workspace-specific mappings are purged
Replaces existing workspace mappings. Automatically sets allow_all_workspaces to false.
1Show child attributes
Successful response
The response is of type object.
Was this page helpful?