Skip to main content

Replace a keystore secret's value.

PATCH/api/v1/keystore-secrets/{keystore_secret_id}keystore:write

The name cannot change. The value is write-only: the answer shows the secret without it.

Scopekeystore:write (sensitive)
AsynchronousNo
MCP toolupdate_keystore_secret
Portal permissionsedit_workflow_keystore_entries

Parameters​

NameInTypeRequiredDescription
keystore_secret_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonKeystoreSecretPatchInput
application/merge-patch+jsonKeystoreSecretPatchInput

Responses​

StatusDescriptionBody
200Success.application/json KeystoreSecret or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

KeystoreSecret​

FieldTypeRequiredDescription
activebooleanRequired
added_atstring (date-time) or nullRequired
added_byUserRefRequired
keystore_secret_idstringRequiredThe base64url (no padding) of the secret's name.
namestringRequired

KeystoreSecretPatchInput​

FieldTypeRequiredDescription
activeboolean or nullOptional
keystore_secret_idstring or nullOptional
namestring or nullOptional
valuestring or nullOptional

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired