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

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

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.SelfServiceProfiles.CustomText.Set(
        context.TODO(),
        "id",
        map[string]interface{}{
            "key": "value",
        },
    )
}
{}

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

The id of the self-service profile.

language
enum<string>
requis

The language of the custom text.

Options disponibles:
en
page
enum<string>
requis

The page where the custom text is shown.

Options disponibles:
get-started

Corps

The list of text keys and values to customize the self-service SSO page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks.

{key}
string
Maximum string length: 2000

Réponse

Updated custom text.

The resulting list of custom text keys and values.

{key}
string