For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ko/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