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 type application/json

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

APIInvalidTopicsError is error format response to invalid topics

Media type application/json
object
invalidTopics
Array<string>
message
string
Example generated
{
"invalidTopics": [
"example"
],
"message": "example"
}