Skip to content
Snippets Groups Projects
Commit 491bcbc4 authored by Nicholas Wittstruck's avatar Nicholas Wittstruck
Browse files

Protected containers: Add DELETE REST API for container protection rules

Apply feedback regarding whitespace.

Issue #457518

Changelog: added
parent 07c112e2
No related branches found
No related tags found
No related merge requests found
......@@ -171,10 +171,10 @@ DELETE /api/v4/projects/:id/registry/protection/rules/:protection_rule_id
Supported attributes:
| Attribute | Type | Required | Description |
|-------------------------------|-----------------|----------|--------------------------------|
| `id` | integer/string | Yes | ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user. |
| `protection_rule_id` | integer | Yes | ID of the container registry protection rule to be deleted. |
| Attribute | Type | Required | Description |
|----------------------|----------------|----------|-------------|
| `id` | integer/string | Yes | ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user. |
| `protection_rule_id` | integer | Yes | ID of the container registry protection rule to be deleted. |
If successful, returns [`204 No Content`](rest/index.md#status-codes).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment