VMware Cloud Director API - AuthorizationCheckParams

VMware Cloud Director API - AuthorizationCheckParams

AuthorizationCheckParamsType

Element:
AuthorizationCheckParams
Type:
AuthorizationCheckParamsType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Parameters for an authorization check request.
Since:
5.1
Schema:
services.xsd
Media type(s):
application/vnd.vmware.admin.authorizationCheckParams+json
application/vnd.vmware.admin.authorizationCheckParams+xml
Extends:
VCloudExtensibleType
XML Representation:
<AuthorizationCheckParams xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5">
    <vcloud_v1.5:User href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <HttpMethod> xs:string </HttpMethod>
    <URL> xs:string </URL>
</AuthorizationCheckParams>

Elements

Element Type Required Modifiable Since Deprecated Description
HttpMethod string Yes none 5.1 One of: GET, PUT, POST, DELETE
URL string Yes none 5.1 The relative URL which is to be checked. Examples: /backup/restore, /backup/restore/{id}, /api/admin/org/{id}.
User ReferenceType Yes none 5.1 The user for which an authorization check is requested.
VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
as input POST /admin/extension/service/authorizationcheck Checks user authorization for all services with enabled authorization, URL and request verb. 5.1
as input POST /admin/extension/service/{id}/authorizationcheck Checks user authorization for service, URL and request verb. 5.1