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
Response
Successful Response
Example response
{
"id": "cred_abc123xyz",
"label": "GitHub PAT for jentic-mini",
"identity": "alice",
"api_id": "api.github.com",
"auth_type": "bearer",
"created_at": 1672531200,
"updated_at": 1672531200,
"account_id": "oauth_abc123",
"app_slug": "pipedream",
"synced_at": 1672531200
}