v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Organizations

List your managed organizations

Returns the current organization and its managed organizations in JSON:API format.

get/api/v2/org

Query parameters

filter[name]string

Filter managed organizations by name.

Response

OK

Example response

{
  "data": {
    "id": "4dee724d-00cc-11ea-a77b-570c9d03c6c5",
    "relationships": {
      "current_org": {
        "data": {
          "id": "4dee724d-00cc-11ea-a77b-570c9d03c6c5",
          "type": "orgs"
        }
      },
      "managed_orgs": {
        "data": [
          {
            "id": "4dee724d-00cc-11ea-a77b-570c9d03c6c5",
            "type": "orgs"
          }
        ]
      }
    },
    "type": "managed_orgs"
  },
  "included": [
    {
      "attributes": {
        "created_at": "2019-09-26T17:28:28Z",
        "description": "Production organization.",
        "modified_at": "2024-01-15T10:30:00Z",
        "name": "My Organization",
        "public_id": "abcdef12345",
        "sharing": "none",
        "url": "https://app.datadoghq.com/account/my-org"
      },
      "id": "4dee724d-00cc-11ea-a77b-570c9d03c6c5",
      "type": "orgs"
    }
  ]
}