issues

Delete an issue artifact

Changed on

Permanently deletes an artifact attached to an issue.

Deleting an artifact requires permission to update the issue.

The request can return 403 if the repository is read-only or locked, or a GitHub App installation has only issues: read permission.

delete/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}

Request

  • Base URL
    https://api.github.com
  • URL
    https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}
  • Auth
    none declared

Path parameters

ownerstring required

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

repostring required

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

issue_numberinteger required

The number that identifies the issue.

artifact_numberinteger required

The artifact number within the issue.

Response

The artifact was deleted successfully. No content is returned.

Changes