Return the user locale by user id

The user is searched through the properties username and authenticator, the user locale is returned.

Request
Security:
vc-security
path Parameters
authenticator
required
string
username
required
string
Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

404

Not Found. The specified resource (or resource referred to by id) was not found

get/user-service/v1/user/locale/{authenticator}/{username}
Request samples
curl -i -X GET \
  'http://localhost:8081/user-service/v1/user/locale/{authenticator}/{username}' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "message": "en"
}