Skip to main content
PATCH
/
services
/
{serviceName}
/
secrets
Patch service secrets
curl --request PATCH \
  --url http://localhost:7687/services/{serviceName}/secrets \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "path": "<string>",
    "value": "<unknown>"
  }
]
'
{
  "updated": true
}

Documentation Index

Fetch the complete documentation index at: https://modelcontrolinterface.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

serviceName
string
required

Normalized service name.

Minimum string length: 1

Body

application/json
op
enum<string>
required

Insert a value at the target path.

Available options:
add
path
string
required

JSON Pointer path to update.

Minimum string length: 1
value
any | null

Value to insert or replace.

Response

Confirmation that the secrets payload was updated.

Response returned after patching service secrets.

updated
boolean
required

Acknowledges that the secrets patch was accepted and persisted.

Last modified on May 14, 2026