Search + K

Command Palette

Search for a command to run...

Sign In

Delete a discussion

DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
Copy endpoint
https://api.github.com

Delete a discussion from a team's page.

[!NOTE] You can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}.

OAuth app tokens and personal access tokens (classic) need the write:discussion scope to use this endpoint.

Parameters

path Path Parameters

Name Type
org required

The organization name. The name is not case sensitive.

string
team_slug required

The slug of the team name.

string
discussion_number required

The number that identifies the discussion.

number

Responses

204

Response

unknown