VMware Cloud Director API - POST-ControlAccess-catalog
POST /org/{id}/catalog/{catalogId}/action/controlAccess
- Operation:
- POST /org/{id}/catalog/{catalogId}/action/controlAccess
- Description:
- Update access control information for a catalog.
- Since:
- 0.9
- Deprecated:
- 7.0
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.vcloud.controlAccess+xml
application/vnd.vmware.vcloud.controlAccess+json
- Input type:
- ControlAccessParamsType
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.vcloud.controlAccess+xml
application/vnd.vmware.vcloud.controlAccess+json
- Output type:
- ControlAccessParamsType
- Examples
-
- Request
-
HTTP 1.1
POST /api/org/fd066c5f-fed1-4923-9230-f94c25d685cf/catalog/9eb3938c-82ec-4f23-8963-dd5ba1780c43/action/controlAccess
Headers:
Content-Length: 212
Content-Type: application/vnd.vmware.vcloud.controlAccess+xml; charset=ISO-8859-1
x-vcloud-authorization: FYpfmpJUDV41rJolZxAB1l5h7lWlHUomhgDJxYGqJAI=
Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vcloud:ControlAccessParams
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5">
<vcloud:IsSharedToEveryone>false</vcloud:IsSharedToEveryone>
</vcloud:ControlAccessParams>
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 333
Content-Type: application/vnd.vmware.vcloud.controlAccess+xml; version=5.1
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ControlAccessParams
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<IsSharedToEveryone>false</IsSharedToEveryone>
</ControlAccessParams>