[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Set Locale
DescriptionSets the locale for the session which is used for translating responses.
Request
URLURL
https://vmc.vmware.com/vmc/api/locale
Request Body
Request Body
{
"locale": "string"
}
string
locale
Optional
The locale to be used for translating responses for the session
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
VmcLocale
of type(s) application/json
{
"locale": "string"
}
string
locale
Optional
The locale to be used for translating responses for the session
Errors
401
Unauthorized
403
Forbidden
Code Samples
PowerCLI Client SDK Example
$VmcLocale = Initialize-VmcLocale -Locale "MyLocale"
Invoke-LocalePost -VmcLocale $VmcLocale
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"locale":"string"}' https://vmc.vmware.com/vmc/api/locale
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: locale
x-vmw-vapi-methodname: set
[{"label":"Latest (v1.1)","version":"latest"}]
vmc
On This Page
Locale Operations
post