You can delete the permissions of a resource by using the Orchestrator REST API. You can delete the existing permissions of a resource before you set new permissions.
Procedure
- Make a GET request and retrieve the ID of the resource from the list of returned resources:
GET http://{orchestrator_host}:{port}/vco/api/resources/
- Make a DELETE request at the URL of the resource's permissions:
DELETE http://{orchestrator_host}:{port}/vco/api/resources/{resourceID}/permissions/
Results
If the DELETE request is successful, you receive the status code 204, and the response body is empty.