credentials

Update an upstream API credential — rotate a secret or fix its API binding

Update a credential's label, secret value, identity field, API binding, or auth_type.

Common use cases:

  • Rotate an expired token or password (update value)
  • Fix incorrect API binding (update api_id)
  • Add username to existing credential (update identity)
  • Relabel for clarity (update label)

Only changed fields need to be included in the request body. Omitted fields are left unchanged.

Auth: Requires human session OR agent key with explicit PATCH /credentials allow rule on jentic-mini credential.

patch/credentials/{cid}

Path parameters

cidstring required

Credential ID to update

Credential ID to update

Request body

labelstring nullable
valuestring nullable
identitystring nullable
api_idstring nullable
auth_type'bearer' | 'basic' | 'apiKey' | 'none' nullable

Update the auth type for this credential. See POST /credentials for valid values and semantics.

server_variablesobject nullable
schemeobject nullable

Update the self-describing injection rule. See POST /credentials for format.

routesstring[] nullable

Update the host+path routing patterns for this credential.

Response

Successful Response

idstring required
labelstring required
identitystring nullable
api_idstring nullable
auth_typestring nullable
server_variablesobject nullable
schemeobject nullable
routesstring[] nullable
created_atnumber nullable
updated_atnumber nullable
account_idstring nullable
app_slugstring nullable
synced_atnumber nullable

Changes