Delete a discussion

Note: The team discussions API is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

application/vnd.github.echo-preview+json

Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact your GitHub Enterprise site administrator.

Delete a discussion from a team's page. OAuth access tokens require the write:discussion scope.

DELETE /teams/:team_id/discussions/:discussion_number

Response

Status: 204 No Content