configurations

Delete Custom Section

Changed on

Delete a custom section.

Args: configuration_id (UUID): ID of the configuration with custom section to delete section_input (DeleteCustomSectionInput): Custom section deletion input user (DbUser): The logged in user db (AsyncDatabaseConnection): The database connection

Raises: HTTPException: 404 if configuration isn't found HTTPException: 409 if configuration isn't a draft HTTPException: 404 if custom section code to delete isn't found

Returns: str: Deleted custom section code

delete/api/v1/configurations/{configuration_id}/sections

Request

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

Path parameters

configuration_idstring uuid required

Request body

codestring required

Response

Successful Response

string required

Changes