> ## Documentation Index > Fetch the complete documentation index at: https://docs.britive.com/llms.txt > Use this file to discover all available pages before exploring further. # Update static secret template parameteres ## OpenAPI ````json PATCH /api/v1/secretmanager/secret-templates/static/{id} { "openapi": "3.0.1", "info": { "title": "Secret Manager APIs", "version": "v1", "description": "API documentation for Secret Manager, Policy Administration, Notifications, Approval service, etc." }, "servers": [ { "url": "https://{tenantURL}", "description": "The primary server", "variables": { "tenantURL": { "default": "test.britive-app.com", "description": "The host of the server" } } } ], "security": [ { "bearerAuth": [] } ], "tags": [ { "name": "Approvals" }, { "name": "Notification Service" }, { "name": "Policy Administration" }, { "name": "Secrets Manager" }, { "name": "Secret Rotation" } ], "paths": { "/api/v1/secretmanager/secret-templates/static/{id}": { "patch": { "tags": [ "Secrets Manager" ], "summary": "Update static secret template parameteres", "operationId": "updateSecretParam", "parameters": [ { "name": "id", "in": "path", "description": "Id of static secret template", "required": "true", "schema": { "type": "string" }, "example": "a6ed82f6-32b5-46d8-a3a3-c36cc574abd9" } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StaticSecretTemplateDTO" } } }, "required": "false" }, "responses": { "204": { "description": "No content" } } } } }, "components": { "schemas": { "StaticSecretTemplateDTO": { "type": "object", "properties": { "id": { "type": "string" }, "secretType": { "maxLength": "30", "minLength": "1", "pattern": "^[a-zA-Z0-9-_\\s]{1,30}$", "type": "string" }, "description": { "maxLength": "255", "minLength": "0", "type": "string" }, "rotationInterval": { "type": "integer", "format": "int32" }, "parameters": { "type": "array", "items": { "$ref": "#/components/schemas/StaticSecretFieldParamsDTO" } }, "passwordPolicyId": { "type": "string" }, "passwordRepetitionLimit": { "type": "integer", "format": "int32", "description": "Minimum number of password versions to retain before a previous value can be reused." }, "refCount": { "type": "integer", "format": "int32", "description": "Number of active (non-deleted) secrets that reference this template. Maintained automatically by the system; cannot be set by the caller." } } }, "StaticSecretFieldParamsDTO": { "required": [ "mask", "required", "type" ], "type": "object", "properties": { "name": { "maxLength": "30", "minLength": "1", "pattern": "^[a-zA-Z0-9-_\\s]{1,30}$", "type": "string" }, "description": { "maxLength": "255", "minLength": "0", "type": "string" }, "mask": { "type": "boolean" }, "required": { "type": "boolean" }, "type": { "pattern": "singleLine|multiLine|password|fileUpload|otp|otpSeed|recoveryKeys|resource|account", "type": "string" }, "allowDualValues": { "type": "boolean", "description": "Applicable only when type is account or password. When true, the secret must carry two values (Primary and Secondary) for this field, enabling the Dual Account rotation feature.\n" }, "discoverable": { "type": "boolean", "description": "Applicable only when type is account. When true, users can browse and select accounts discovered from the linked resource in Resource Manager instead of entering an account name manually.\n" }, "metadata": { "type": "boolean", "description": "Marks the field as metadata (non-sensitive). Changes to metadata fields do not trigger a new secret version." } } } }, "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer" } } } } ````