curl --request PUT \
--url https://api.example.com/v1/secrets \
--header 'Content-Type: application/json' \
--data '
{
"secrets": [
{
"key": "<string>",
"value": "<string>"
}
]
}
'{
"data": {
"upserted_keys": [
"<string>"
],
"deleted_keys": [
"<string>"
]
}
}Atomically upsert or delete a batch of secrets. Entries with a non-null value are created or updated; entries with value: null are deleted. The value field is required for every entry, and omitting it returns 422. When the same key appears more than once, the last occurrence wins. Deleting a non-existent key succeeds silently. Secret values are never returned in the response.
curl --request PUT \
--url https://api.example.com/v1/secrets \
--header 'Content-Type: application/json' \
--data '
{
"secrets": [
{
"key": "<string>",
"value": "<string>"
}
]
}
'{
"data": {
"upserted_keys": [
"<string>"
],
"deleted_keys": [
"<string>"
]
}
}Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?