Skip to main content
PATCH
https://{tenantDomain}/api/v2
/
self-service-profiles
/
{id}
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;

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

        await client.SelfServiceProfiles.UpdateAsync(
            id: "id",
            request: new UpdateSelfServiceProfileRequestContent()
        );
    }

}
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 := &management.UpdateSelfServiceProfileRequestContent{}
client.SelfServiceProfiles.Update(
context.TODO(),
"id",
request,
)
}
package com.example.usage;

import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.selfserviceprofiles.requests.UpdateSelfServiceProfileRequestContent;

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

client.selfServiceProfiles().update(
"id",
UpdateSelfServiceProfileRequestContent
.builder()
.build()
);
}
}
<?php

namespace Example;

use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\SelfServiceProfiles\Requests\UpdateSelfServiceProfileRequestContent;

$client = new Management(
token: '<token>',
);
$client->selfServiceProfiles->update(
'id',
new UpdateSelfServiceProfileRequestContent([]),
);
from auth0.management import ManagementClient

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

client.self_service_profiles.update(
id="id",
)
require "auth0"

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

client.self_service_profiles.update(id: "id")
import { ManagementClient } from "auth0";

async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.selfServiceProfiles.update("id", {});
}
main();
import { ManagementClient } from "auth0";

async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.selfServiceProfiles.update("id", {});
}
main();
curl --request PATCH \
--url https://{tenantDomain}/api/v2/self-service-profiles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"branding": {
"logo_url": "<string>"
},
"allowed_strategies": [],
"user_attributes": [
{
"name": "<string>",
"description": "<string>",
"is_optional": true
}
],
"user_attribute_profile_id": "<string>"
}
'
{
  "id": "ssp_n7SNCL8seoyV1TuSTCnAeo",
  "name": "<string>",
  "description": "<string>",
  "user_attributes": [
    {
      "name": "<string>",
      "description": "<string>",
      "is_optional": true
    }
  ],
  "created_at": "2021-01-01T00:00:00.000Z",
  "updated_at": "2021-01-01T00:00:00.000Z",
  "branding": {
    "logo_url": "<string>",
    "colors": {
      "primary": "<string>"
    }
  },
  "allowed_strategies": [],
  "user_attribute_profile_id": "<string>"
}

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 to update

Body

name
string

The name of the self-service Profile.

Required string length: 1 - 100
description
string | null

The description of the self-service Profile.

Required string length: 1 - 140
branding
object | null
allowed_strategies
enum<string>[]

List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate]

Minimum array length: 1
Available options:
oidc,
samlp,
waad,
google-apps,
adfs,
okta,
auth0-samlp,
okta-samlp,
keycloak-samlp,
pingfederate
user_attributes
object[] | null

List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.

user_attribute_profile_id
string<user-attribute-profile-id> | null
EA

ID of the user-attribute-profile to associate with this self-service profile.

Response

Self-service profile successfully updated.

id
string
default:ssp_n7SNCL8seoyV1TuSTCnAeo

The unique ID of the self-service Profile.

name
string

The name of the self-service Profile.

description
string

The description of the self-service Profile.

user_attributes
object[]

List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.

created_at
string<date-time>
default:2021-01-01T00:00:00.000Z

The time when this self-service Profile was created.

updated_at
string<date-time>
default:2021-01-01T00:00:00.000Z

The time when this self-service Profile was updated.

branding
object
allowed_strategies
enum<string>[]

List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate]

Minimum array length: 1
Available options:
oidc,
samlp,
waad,
google-apps,
adfs,
okta,
auth0-samlp,
okta-samlp,
keycloak-samlp,
pingfederate
user_attribute_profile_id
string<user-attribute-profile-id>
EA

ID of the user-attribute-profile to associate with this self-service profile.