configurations

Delete Custom Code

Changed on

Delete a custom code from a configuration.

Args: configuration_id (UUID): The ID of the configuration to modify. id (str): The ID of the custom code. user (dict[str, Any]): The logged-in user. db (AsyncDatabaseConnection): The database connection.

Raises: HTTPException: 400 if id is not provided HTTPException: 404 if configuration can't be found HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if configuration can't be updated

Returns: ConfigurationCustomCodeResponse: The updated configuration

delete/api/v1/configurations/{configuration_id}/custom-codes/{id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idstring uuid required
configuration_idstring uuid required

Response

Successful Response

idstring uuid required
displaystring required
codestring required
system_idstring uuid required
system_namestring required

Changes

    • 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

    • 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

    • info

      endpoint added