Skip to content

Delete an autolink reference from a repository

DELETE
/repos/{owner}/{repo}/autolinks/{autolink_id}

This deletes a single autolink reference by ID that was configured for the given repository.

Information about autolinks are only available to repository administrators.

API method documentation

owner
required
string

The account owner of the repository. The name is not case sensitive.

repo
required
string

The name of the repository without the .git extension. The name is not case sensitive.

autolink_id
required
integer

The unique identifier of the autolink.

Response

Resource not found

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}