You can delete the permissions of a package by using the Orchestrator REST API. You can delete the existing permissions of a package before you set new permissions.
Procedure
1 | Make a GET request and retrieve the name of the package from the list of returned packages: GET http://{vcoHost}:{port}/api/packages/
|
2 | Make a DELETE request at the URL of the package's permissions: DELETE http://{vcoHost}:{port}/api/packages/{package_name}/permissions/
|
If the DELETE request is successful, you receive the status code 204, and the response body is empty.