Delete an Existing Collection
DELETE/api/v32.07/collections/:id
x-prisma-cloud-target-env: {"permission":"collections"}
Deletes a collection.
To invoke this endpoint in the Console UI:
- Navigate to Manage > Collections and Tags > Collections.
- Click the dotted icon under the Actions column to open up the menu options. Note: The default collections do not have a dotted icon in the Actions column.
- Click the Delete button to initiate the deletion.
- Click the Delete Collection button to confirm the deletion.
cURL Request
Refer to the following example cURL command that deletes a collection with the name my-collection
:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X DELETE \
'https://<CONSOLE>/api/v<VERSION>/collections/my-collection'
Note: No response will be returned upon successful execution.
Request
Responses
- 200
- default
OK