Forward
Update secret
Update an existing secret. After updating, the version is automatically incremented.
Validation Rules:
- Only value and entity_id can be updated
- value: max 8KB
Response: Returns updated metadata with incremented version.
patch/secrets/{name}
Request
- Base URLhttps://forward.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesforward, forward:secrets
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Secret name.
Request body
Example request
{
"entity_id": "ent_kf3pqe272lqevcpx5xtlndgcii",
"value": "NEW_VALUE_1"
}Response
Secret updated successfully
Example response
{
"name": "secret_name",
"created_at": "2025-10-14T00:00:00.0000000+00:00",
"updated_at": "2025-10-14T00:00:00.0000000+00:00",
"version": 1,
"entity_id": "ent_123"
}Changes
No recorded changes to this operation across all 1 revision of this API.