List Providers Deprecated
Retrieve all identity providers. if you do not have all of the privileges described as follows: - Operation execution requires VcIdentityProviders.Read and VcIdentityProviders.Manage.
Request
URLURL
https://{api_host}/rest/vcenter/identity/providers
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
IdentityProvidersListResponseBody of type application/json
Commonly used information about the identity providers.
{
"value": [
{
"auth_query_params": [
{
"key": "key1",
"value": "string"
}
],
"config_tag": "Oauth2",
"domain_names": [
"string"
],
"is_default": false,
"name": "string",
"oauth2": {
"auth_endpoint": "string",
"auth_query_params": [
{
"key": "key1",
"value": "string"
}
],
"authentication_header": "string",
"client_id": "string",
"token_endpoint": "string"
},
"oidc": {
"auth_endpoint": "string",
"auth_query_params": [
{
"key": "key1",
"value": "string"
}
],
"authentication_header": "string",
"client_id": "string",
"discovery_endpoint": "string",
"logout_endpoint": "string",
"token_endpoint": "string"
},
"provider": "string"
}
]
}
array of
IdentityProvidersSummary
value
Optional
Commonly used information about the identity providers.
Errors
default
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/identity/providers
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-new-method: get
x-vmw-doc-new-path: /api/vcenter/identity/providers
x-vmw-doc-operation: list
Availability
Added in 7.0.0
On This Page
Providers Operations
get
post
get
patch
delete