My Organization API
TypeScript
import { MyOrganizationClient } from "github.com/auth0/myorganization-js"; async function main() { const client = new MyOrganizationClient({ token: "<token>", }); await client.organizationDetails.get(); } main();
{ "id": "org_zW1UHutvkVWSWdCC", "name": "testorg", "display_name": "Test Organization", "branding": { "logo_url": "https://example.com/logo.png", "colors": { "primary": "#000000", "page_background": "#FFFFFF" } } }
Retrieve details for an Organization.
The access token received from the authorization server in the OAuth 2.0 flow.
Organization details successfully retrieved.
Organization identifier.
^org_[A-Za-z0-9]{16}$
The name of this organization.
1 - 50
Friendly name of this organization.
1 - 255
Theme defines how to style the login pages.
Show child attributes
Was this page helpful?