Skip to main content
PATCH
/
details
C#
using Auth0Auth0;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new Auth0Auth0Client(
            token: "<token>"
        );

        await client.OrganizationDetails.UpdateAsync(
            new OrgDetails {
                Name = "testorg",
                DisplayName = "Test Organization",
                Branding = new OrgBranding {
                    LogoUrl = "https://example.com/logo.png",
                    Colors = new OrgBrandingColors {
                        Primary = "#000000",
                        PageBackground = "#FFFFFF"
                    }
                }
            }
        );
    }

}
{
  "id": "org_zW1UHutvkVWSWdCC",
  "name": "testorg",
  "display_name": "Test Organization",
  "branding": {
    "logo_url": "https://example.com/logo.png",
    "colors": {
      "primary": "#000000",
      "page_background": "#FFFFFF"
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string

The name of this organization.

Required string length: 1 - 50
display_name
string

Friendly name of this organization.

Required string length: 1 - 255
branding
object

Theme defines how to style the login pages.

Response

Organization details successfully retrieved.

id
string

Organization identifier.

Pattern: ^org_[A-Za-z0-9]{16}$
name
string

The name of this organization.

Required string length: 1 - 50
display_name
string

Friendly name of this organization.

Required string length: 1 - 255
branding
object

Theme defines how to style the login pages.