vcenter vmwportal authentication: create
Create API authenticates the user on the my.vmware.com portal using the username password passed in the spec. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
POST https://{server}/api/vcenter/vmwportal/authentication
{
"password" : "secret string",
"username" : "string"
}
"password" : "secret string",
"username" : "string"
}
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | create_spec | Specification providing the my.vmware.com username and password. |
-.username | string | my.vmware.com username. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
-.password | secret | my.vmware.com password. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
401 | unauthenticated | if the user can not be authenticated. |
403 | unauthorized | if the user doesn't have the required privileges. |
500 | error | if there is some unknown internal error. The accompanying error message will give more details about the error. |