teams_slash_delete_discussion_legacy

Function teams_slash_delete_discussion_legacy 

Source
pub async fn teams_slash_delete_discussion_legacy(
    configuration: &Configuration,
    team_id: i32,
    discussion_number: i32,
) -> Result<(), Error<TeamsSlashDeleteDiscussionLegacyError>>
Expand description

Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Delete a discussion endpoint. Delete a discussion from a team’s page. OAuth app tokens and personal access tokens (classic) need the write:discussion scope to use this endpoint.