# Update domain by name Endpoint: PUT /domains/{domainName} Version: 5.1.42 Security: api_key ## Path parameters: - `domainName` (string, required) The name of the domain to update ## Request fields (application/json): - `domainName` (string, required) Example: "NEW_DOMAIN" - `defaultAlgorithmCode` (string, required) Must be one of the algorithm codes Example: "SimpleMaskingAlgorithm" - `defaultTokenizationCode` (string) This input is optional. If used, must be one of the tokenization algorithm codes ## Response 200 fields (application/json): - `domainName` (string, required) Example: "NEW_DOMAIN" - `createdBy` (string) Backend generated field - `defaultAlgorithmCode` (string, required) Must be one of the algorithm codes Example: "SimpleMaskingAlgorithm" - `defaultTokenizationCode` (string) This input is optional. If used, must be one of the tokenization algorithm codes ## Response 400 fields ## Response 404 fields