メインコンテンツへスキップ
PATCH
/
organizations
/
{id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.organizations.update("id", {});
}
main();
{
  "id": "<string>",
  "name": "organization-1",
  "display_name": "Acme Users",
  "branding": {
    "logo_url": "<string>",
    "colors": {
      "primary": "<string>",
      "page_background": "<string>"
    }
  },
  "metadata": {},
  "token_quota": {
    "client_credentials": {
      "enforce": true,
      "per_day": 1073741824,
      "per_hour": 1073741824
    }
  }
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ID of the organization to update.

ボディ

display_name
string
デフォルト:Acme Users

Friendly name of this organization.

Required string length: 1 - 255
name
string<organization-name>
デフォルト:organization-1

The name of this organization.

Required string length: 1 - 50
branding
object

Theme defines how to style the login pages.

metadata
object

Metadata associated with the organization, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.

token_quota
object

レスポンス

Organization successfully updated.

id
string<organization-id>

Organization identifier.

Maximum string length: 50
name
string<organization-name>
デフォルト:organization-1

The name of this organization.

Required string length: 1 - 50
display_name
string
デフォルト:Acme Users

Friendly name of this organization.

Required string length: 1 - 255
branding
object

Theme defines how to style the login pages.

metadata
object

Metadata associated with the organization, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.

token_quota
object