Zum Inhalt springen

SetLocale

PUT
/api/v1/me/locale
curl --request PUT \
--url https://example.com/api/v1/me/locale \
--header 'Content-Type: application/json' \
--data '{ "locale": "example" }'
Media typeapplication/json
object
locale
required
string
Examplegenerated
{
"locale": "example"
}

No Content

Bad Request

Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
errors
object
key
additional properties
Array<string>
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}