Skip to content

Delete a package protection rule

DELETE
/api/v4/projects/{id}/packages/protection/rules/{package_protection_rule_id}

Deletes a package protection rule from a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

package_protection_rule_id
required
integer

The ID of the package protection rule

204 No Content

Bad Request

Unauthorized

Forbidden

Not Found