# Randomize algorithm key by name Endpoint: PUT /algorithms/{algorithmName}/randomize-key Version: 5.1.45 Security: api_key ## Path parameters: - `algorithmName` (string, required) The name of the algorithm who's key should be randomized ## Response 200 fields (application/json): - `algorithmName` (string, required) Equivalent to the algorithm name saved by the user through the GUI. For out of the box algo, this represents algorithm code. Example: "SimpleMaskingAlgorithm" - `legacyName` (string) This represents algorithm name shown on the UI. - `algorithmType` (string, required) The type of algorithm Enum: "BINARY_LOOKUP", "CLEANSING", "COMPONENT", "CUSTOM_ALGORITHM", "DATE", "LOOKUP", "MAPPING", "MINMAX", "MISC", "REDACTION", "SEGMENT", "TOKENIZATION" - `canReturnNull` (boolean) Whether or not the algorithm can return null values - `createdBy` (string) The name of the user that created the algorithm - `description` (string) The description of the algorithm Example: "This is a simple algorithm that serves as an example for the API. The frameworkId value may vary by engine." - `maskType` (string) The masking type of the algorithm - `isTokenizationSupported` (boolean) Whether or not the algorithm can be used with tokenization and reidentification job - `frameworkId` (integer) The algorithm framework id Example: 3 - `frameworkName` (string) The algorithm framework name - `jsonConfigurable` (boolean) The algorithm is json Configurable or not. - `pluginId` (integer) The id, if applicable, of the plugin that supplies this algorithm or the framework this algorithm is built on Example: 7 - `fields` (array) - `fields.fieldId` (integer) The id of the algorithm field. - `fields.name` (string) The name of the algorithm field. - `fields.type` (string) The type of value this algorithm field. Enum: "BIG_DECIMAL", "LOCAL_DATE_TIME", "STRING", "BYTE_BUFFER" - `fields.isReadOnly` (boolean) Indicates whether the field is read-only. Read-only fields are taken as input by the masking algorithm but not masked. - `fields.isOptional` (boolean) Indicates whether the field is optional. Optional fields do not have to be assigned to a real data field or column in order for a masking assignment to be considered valid. - `fields.description` (string) The description of the algorithm field. - `algorithmExtension` (object) Example: {"lookupFile":{"uri":"delphix-file://upload/f_a0c6c02dac4a4303a26ea5418fb72d5b/example.txt"}} - `isConfigInvalid` (boolean) Whether or not the configuration in algorithmExtension is invalid ## Response 400 fields ## Response 401 fields ## Response 404 fields