Search + K

Command Palette

Search for a command to run...

Sign In

Delete a discussion (Legacy)

Deprecated
DELETE /teams/{team_id}/discussions/{discussion_number}
Copy endpoint
https://api.github.com

[!WARNING] Endpoint closing down notice: This endpoint route is closing down 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.

Parameters

path Path Parameters

Name Type
team_id required

The unique identifier of the team.

number
discussion_number required

The number that identifies the discussion.

number

Responses

204

Response

unknown