v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
teams

Delete a discussion comment

Deletes a comment on a team discussion.

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}/comments/{comment_number}.

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

delete/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}

Path parameters

orgstring required

The organization name. The name is not case sensitive.

team_slugstring required

The slug of the team name.

discussion_numberinteger required

The number that identifies the discussion.

comment_numberinteger required

The number that identifies the comment.

Response

Response