DELETE /user/packages/{package_type}/{package_name}
Deletes a package owned by the authenticated user. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.
OAuth app tokens and personal access tokens (classic) need the read:packages
and delete:packages
scopes to use this endpoint. For more information, see "About permissions for GitHub Packages."
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
package_name |
String | Yes |
The name of the package. |
package_type |
String | Yes |
The type of supported package. Packages in GitHub's Gradle registry have the type Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.