Function asana::apis::sections_api::delete_section[][src]

pub async fn delete_section(
    configuration: &Configuration,
    section_gid: &str,
    opt_pretty: Option<bool>,
    opt_fields: Option<Vec<String>>
) -> Result<InlineResponse2001, Error<DeleteSectionError>>

A specific, existing section can be deleted by making a DELETE request on the URL for that section. Note that sections must be empty to be deleted. The last remaining section cannot be deleted. Returns an empty data block.