Skip to content

Commit

Permalink
Updates some api commands (#1161)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Smith <stevsmit@stevsmit-thinkpadt14gen4.remote.csb>
  • Loading branch information
stevsmit and Steven Smith authored Nov 14, 2024
1 parent 68cd399 commit 19e34e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/managing-namespace-auto-pruning-policies.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ $ curl -X GET -H "Authorization: Bearer <access_token>" http://<quay-server.exam
+
[source,terminal]
----
{"policies": [{"uuid": "73d64f05-d587-42d9-af6d-e726a4a80d6e", "method": "creation_date", "value": "7d"}]}
{"policies": [{"uuid": "ebf7448b-93c3-4f14-bf2f-25aa6857c7b0", "method": "creation_date", "value": "4d", "tagPattern": "^v*", "tagPatternMatches": true}, {"uuid": "da4d0ad7-3c2d-4be8-af63-9c51f9a501bc", "method": "number_of_tags", "value": 10, "tagPattern": null, "tagPatternMatches": true}, {"uuid": "17b9fd96-1537-4462-a830-7f53b43f94c2", "method": "creation_date", "value": "7d", "tagPattern": "^v*", "tagPatternMatches": true}]}
----

. You can delete the auto-prune policy for your organization by entering the following command. Note that deleting the policy requires the UUID.
Expand Down Expand Up @@ -563,7 +563,7 @@ $ curl -X GET -H "Authorization: Bearer <access_token>" http://<quay-server.exam
+
[source,terminal]
----
{"policies": [{"uuid": "7726f79c-cbc7-490e-98dd-becdc6fefce7", "method": "number_of_tags", "value": 2}]}
{"uuid": "81ee77ec-496a-4a0a-9241-eca49437d15b", "method": "creation_date", "value": "7d", "tagPattern": "^v*", "tagPatternMatches": true}
----

. You can delete the auto-prune policy by entering the following command. Note that deleting the policy requires the UUID.
Expand Down

0 comments on commit 19e34e6

Please sign in to comment.