My Organization API
TypeScript
import { MyOrganizationClient } from "github.com/auth0/myorganization-js"; async function main() { const client = new MyOrganizationClient({ token: "<token>", }); await client.organizationDetails.update({ name: "testorg", displayName: "Test Organization", branding: { logoUrl: "http://example.com/logo.png", colors: { primary: "#000000", pageBackground: "#FFFFFF", }, }, }); } main();
200
updateOrgDetailsResponseExample
{ "id": "org_zW1UHutvkVWSWdCC", "name": "testorg", "display_name": "Test Organization", "branding": { "logo_url": "https://example.com/logo.png", "colors": { "primary": "#000000", "page_background": "#FFFFFF" } } }
Update the details of a specific Organization, such as display name and branding options.
The access token received from the authorization server in the OAuth 2.0 flow.
The name of this organization.
1 - 50
Friendly name of this organization.
1 - 255
Theme defines how to style the login pages.
表示 子属性
Organization details successfully retrieved.
Organization identifier.
^org_[A-Za-z0-9]{16}$
このページは役に立ちましたか?