For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/organizations/update-your-organization.md. A documentation index is available at /llms.txt.
Language
Datadog site

組織を更新する

PUThttps://api.datadoghq.com/api/v1/org/{public_id}https://api.us3.datadoghq.com/api/v1/org/{public_id}https://api.us5.datadoghq.com/api/v1/org/{public_id}https://api.datadoghq.eu/api/v1/org/{public_id}https://api.ap1.datadoghq.com/api/v1/org/{public_id}https://api.ap2.datadoghq.com/api/v1/org/{public_id}https://api.uk1.datadoghq.com/api/v1/org/{public_id}https://api.ddog-gov.com/api/v1/org/{public_id}https://api.us2.ddog-gov.com/api/v1/org/{public_id}

概要

組織を更新します。

引数

パスパラメーター

名前
タイプ
説明
public_id [required]
string

The public_id of the organization you are operating within.

リクエスト

Body Data (required)

フィールド
タイプ
説明
billing
object

DEPRECATED 組織を作成、編集、管理します。

description
string

Description of the organization.

name
string

The name of the child organization, limited to 32 characters.

public_id
string

The public_id of the organization you are operating within.

settings
object

A JSON array of settings.

subscription
object

DEPRECATED Subscription definition.

trial
boolean

Only available for MSP customers. Allows child organizations to be created on a trial plan.

応答

OK

Response with an organization.

フィールド
タイプ
説明
org
object

Create, edit, and manage organizations.

コード例

組織を更新する
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF
# Path parameters
export public_id="abc123"

# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PUT "https://api.${DD_SITE}/api/v1/org/${public_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "billing": {
    "type": "parent_billing"
  },
  "name": "New child org",
  "settings": {
    "saml": {
      "enabled": false
    },
    "saml_idp_initiated_login": {
      "enabled": false
    },
    "saml_strict_mode": {
      "enabled": false
    }
  }
}
EOF