configurations
Validate Custom Code
Changed onDetermines whether a custom code update is valid or not.
If the desired code is already associated with the configuration, then the update is invalid.
Args: configuration_id (UUID): The configuration ID body (ValidateCustomCodeInput): Body including the code to validate user (DbUser, optional): The logged in user db (AsyncDatabaseConnection, optional): The database connection
Returns: bool: Returns True if the code has not been used, otherwise returns False
post/api/v1/configurations/{configuration_id}/custom-codes/validate
Request
- The document declares no server URL.
- Authnone declared
Path parameters
configuration_id, string uuid required
Request body
Validate Custom Code Input required
Input model when validating a config's custom code.
current_code, string nullable required
desired_code, string required
Response
Successful Response
Validate Custom Code Response required
Validation response model.
valid, boolean required
Changes
- info
endpoint added
- info