Skip to main content

Update a language by locale

PATCH 

/languages/:locale

Update a language by locale

Request

Path Parameters

    language_locale stringrequired

    Language locale of the object

Body

required

    language

    object

    default boolean

    Set default to True to set a default language, to set another language to default, set default to True on the target language and the current default will become disabled

    enabled boolean

    True when the language is enabled, False when it is not

    locale string

    The locale string for the language, current options are- en, fr, es, de, fr-CA

Responses

Expected response to a valid request

Schema

    language

    object

    default boolean

    Set default to True to set a default language, to set another language to default, set default to True on the target language and the current default will become disabled

    enabled boolean

    True when the language is enabled, False when it is not

    locale string

    The locale string for the language, current options are- en, fr, es, de, fr-CA

Loading...