Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
self-service-profiles
/
{id}
/
custom-text
/
{language}
/
{page}
Go
package example

import (
    context "context"

    management "github.com/auth0/go-auth0/management/management"
    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.SelfServiceProfiles.CustomText.List(
        context.TODO(),
        "id",
        management.SelfServiceProfileCustomTextLanguageEnum(
            "en",
        ),
        management.SelfServiceProfileCustomTextPageEnum(
            "get-started",
        ),
    )
}
{}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

L’id du profil en libre-service.

language
enum<string>
requis

La langue du texte personnalisé.

Options disponibles:
en
page
enum<string>
requis

La page où le texte personnalisé s’affiche.

Options disponibles:
get-started

Réponse

Texte personnalisé récupéré.

Liste des clés et des valeurs de texte personnalisé.

{key}
string