Edit Custom Code
Changed onModify a configuration's custom code based on system_key/code pair.
Args: configuration_id (UUID): The ID of the configuration to modify. body (UpdateCustomCodeInput): User-provided object containing custom code info. user (dict[str, Any]): The logged-in user. db (AsyncDatabaseConnection): The database connection. logger (Logger): The system logger.
Raises: HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if the configuration can't be updated
Returns: ConfigurationCustomCodeResponse: The updated configuration.
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
Request body
Response
Successful Response
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
added the new
CVXenum value to the//response property for the response status
- warning