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.

1

Make a GET request and retrieve the ID of the resource from the list of returned resources:

GET http://{vcoHost}:{port}/api/resources/
2

Make a DELETE request at the URL of the resource's permissions:

DELETE http://{vcoHost}:{port}/api/resources/{resourceID}/permissions/

If the DELETE request is successful, you receive the status code 204, and the response body is empty.