Get Authentication Service Operation
Retrieves the authentication information about an operation element corresponding to operationId contained in the service element corresponding to serviceId.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the service element. The parameter must be an identifier for the resource type: com.vmware.vapi.service.
Identifier of the operation element. The parameter must be an identifier for the resource type: com.vmware.vapi.operation.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The OperationInfo instance that corresponds to operationId.
{
"schemes": [
{
"scheme": "string",
"scheme_type": "SESSIONLESS",
"session_manager": "string"
}
]
}
List of authentication schemes used by an operation element. The authentication scheme specified on the service element corresponding to this operation element is ignored.
Errors
com.vmware.vapi.std.errors.not_found : if the service element associated with serviceId does not exist. if the operation element associated with operationId does not exist. if the operation element associated with operationId does not have any authentication information.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/com/vmware/vapi/metadata/authentication/service/operation/id:{service_id}?~action=get
x-vmw-doc-operation: get