Organizations
List your managed organizations
Returns the current organization and its managed organizations in JSON:API format.
get/api/v2/org
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/org
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: org_management, org_connections_write
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"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.