Skip to content

Delete a topic from a repository

DELETE
/repos/{owner}/{repo}/topics/{topic}
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

topic
required
string

Name of the topic to delete

APIEmpty is an empty response

Media typeapplication/json

APINotFound is a not found error response

Media typeapplication/json
object
errors
Array<string>
message
string
url
string
Examplegenerated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

APIInvalidTopicsError is error format response to invalid topics

Media typeapplication/json
object
invalidTopics
Array<string>
message
string
Examplegenerated
{
"invalidTopics": [
"example"
],
"message": "example"
}