See api-docs Menu

List Languages

Early Preview

This API is in early preview and may be subject to change. Please contact your account manager if you are interested in trying the Branding API.

Use this API to get the acceptable languages for custom error message.




Resource URL

https://<api-domain>/api/2/branding/brands/<brand_id>/custom_error_messages/languages

Header Parameters

Authorization

required

string

Set to bearer <access_token>.

Set <access_token> to the access token you generated using the Generate Token API.

The access token must have been generated using an API credential pair created using the scope required to call this API. This API can be called using any one of the following scopes: Manage All.

In order to use the Branding API your API Credentials must be created after 21st October 2020.

Content-Type

required

string

Set to application/json.

Resource Parameters

brand_id

required

integer | master

Unique identifier for the branding object.

Sample Responses

[
    {
        "language": "cs-CZ",
        "is_default": false
    },
    {
        "language": "da",
        "is_default": false
    },
    {
        "language": "de",
        "is_default": false
    },
    {
        "language": "en",
        "is_default": true
    },
    {
        "language": "es",
        "is_default": false
    },
    {
        "language": "fi",
        "is_default": false
    },
    {
        "language": "fr",
        "is_default": false
    },
    {
        "language": "hi-IN",
        "is_default": false
    },
    {
        "language": "hu-HU",
        "is_default": false
    },
    {
        "language": "it",
        "is_default": false
    },
    {
        "language": "ja",
        "is_default": false
    },
    {
        "language": "ko",
        "is_default": false
    },
    {
        "language": "ms-MY",
        "is_default": false
    },
    {
        "language": "nb-NO",
        "is_default": false
    },
    {
        "language": "nl",
        "is_default": false
    },
    {
        "language": "pl-PL",
        "is_default": false
    },
    {
        "language": "pt",
        "is_default": false
    },
    {
        "language": "ru-RU",
        "is_default": false
    },
    {
        "language": "sk",
        "is_default": false
    },
    {
        "language": "sv",
        "is_default": false
    },
    {
        "language": "th",
        "is_default": false
    },
    {
        "language": "tr-TR",
        "is_default": false
    },
    {
        "language": "vi-VN",
        "is_default": false
    },
    {
        "language": "zh",
        "is_default": false
    },
    {
        "language": "zh-TW",
        "is_default": false
    }
]

Postman Collection

Replace sample variables indicated by {{ }} with your actual values.

Download for the Branding API


Have a Question?

Found a problem or a bug? Submit a support ticket.

Looking for walkthroughs or how-to guides on OneLogin's user and admin features? Check out the documentation in our Knowledge Base.

Have a product idea or request? Share it with us in our Ideas Portal.