Skip to main content
PUT
https://{tenantDomain}/api/v2
/
self-service-profiles
/
{id}
/
custom-text
/
{language}
/
{page}
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using System.Collections.Generic;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.SelfServiceProfiles.CustomText.SetAsync(
            id: "id",
            language: "en",
            page: "get-started",
            request: new Dictionary<string, string>(){
                ["key"] = "value",
            }
        );
    }

}
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>",
),
)
request := map[string]any{
"key": "value",
}
client.SelfServiceProfiles.CustomText.Set(
context.TODO(),
"id",
management.SelfServiceProfileCustomTextLanguageEnum(
"en",
),
management.SelfServiceProfileCustomTextPageEnum(
"get-started",
),
request,
)
}
package com.example.usage;

import com.auth0.client.mgmt.ManagementApi;
import java.util.HashMap;

public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.token("<token>")
.build();

client.selfServiceProfiles().customText().set(
"id",
"en",
"get-started",
new HashMap<String, String>() {{
put("key", "value");
}}
);
}
}
<?php

namespace Example;

use Auth0\SDK\API\Management\Management;

$client = new Management(
token: '<token>',
);
$client->selfServiceProfiles->customText->set(
'id',
'en',
'get-started',
[
'key' => 'value',
],
);
from auth0.management import ManagementClient

client = ManagementClient(
token="<token>",
)

client.self_service_profiles.custom_text.set(
id="id",
request={
"key": "value"
},
)
require "auth0"

client = Auth0::Management.new(token: "<token>")

client.self_service_profiles.custom_text.set(
id: "id",
language: "en",
page: "get-started",
request: {
key: "value"
}
)
import { ManagementClient } from "auth0";

async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.selfServiceProfiles.customText.set("id", "en", "get-started", {
"key": "value",
});
}
main();
import { ManagementClient } from "auth0";

async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.selfServiceProfiles.customText.set("id", "en", "get-started", {
"key": "value",
});
}
main();
curl --request PUT \
--url https://{tenantDomain}/api/v2/self-service-profiles/{id}/custom-text/{language}/{page} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The id of the self-service profile.

language
enum<string>
required

The language of the custom text.

Available options:
en
page
enum<string>
required

The page where the custom text is shown.

Available options:
get-started

Body

The list of text keys and values to customize the Self-Service Enterprise Configuration flow page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks.

{key}
string
Maximum string length: 2000

Response

Updated custom text.

The resulting list of custom text keys and values.

{key}
string