@@ -39547,6 +39547,74 @@ components:
3954739547 - type
3954839548 - id
3954939549 type: object
39550+ ManagedOrgsData:
39551+ description: The managed organizations resource.
39552+ properties:
39553+ id:
39554+ description: The UUID of the current organization.
39555+ example: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
39556+ format: uuid
39557+ type: string
39558+ relationships:
39559+ $ref: "#/components/schemas/ManagedOrgsRelationships"
39560+ type:
39561+ $ref: "#/components/schemas/ManagedOrgsType"
39562+ required:
39563+ - id
39564+ - type
39565+ - relationships
39566+ type: object
39567+ ManagedOrgsRelationshipToOrg:
39568+ description: Relationship to the current organization.
39569+ properties:
39570+ data:
39571+ $ref: "#/components/schemas/OrgRelationshipData"
39572+ required:
39573+ - data
39574+ type: object
39575+ ManagedOrgsRelationshipToOrgs:
39576+ description: Relationship to the managed organizations.
39577+ properties:
39578+ data:
39579+ description: List of managed organization references.
39580+ items:
39581+ $ref: "#/components/schemas/OrgRelationshipData"
39582+ type: array
39583+ required:
39584+ - data
39585+ type: object
39586+ ManagedOrgsRelationships:
39587+ description: Relationships of the managed organizations resource.
39588+ properties:
39589+ current_org:
39590+ $ref: "#/components/schemas/ManagedOrgsRelationshipToOrg"
39591+ managed_orgs:
39592+ $ref: "#/components/schemas/ManagedOrgsRelationshipToOrgs"
39593+ required:
39594+ - current_org
39595+ - managed_orgs
39596+ type: object
39597+ ManagedOrgsResponse:
39598+ description: Response containing the current organization and its managed organizations.
39599+ properties:
39600+ data:
39601+ $ref: "#/components/schemas/ManagedOrgsData"
39602+ included:
39603+ description: Included organization resources.
39604+ items:
39605+ $ref: "#/components/schemas/OrgData"
39606+ type: array
39607+ required:
39608+ - data
39609+ - included
39610+ type: object
39611+ ManagedOrgsType:
39612+ description: The resource type for managed organizations.
39613+ enum: [managed_orgs]
39614+ example: "managed_orgs"
39615+ type: string
39616+ x-enum-varnames:
39617+ - MANAGED_ORGS
3955039618 MemberTeam:
3955139619 description: A member team
3955239620 properties:
@@ -48114,6 +48182,53 @@ components:
4811448182 x-enum-varnames:
4811548183 - ASC
4811648184 - DESC
48185+ OrgAttributes:
48186+ description: Attributes of an organization.
48187+ properties:
48188+ created_at:
48189+ description: The creation timestamp of the organization.
48190+ example: "2019-09-26T17:28:28Z"
48191+ format: date-time
48192+ type: string
48193+ description:
48194+ description: A description of the organization.
48195+ example: "Production organization."
48196+ type: string
48197+ disabled:
48198+ description: Whether the organization is disabled.
48199+ example: false
48200+ type: boolean
48201+ modified_at:
48202+ description: The last modification timestamp of the organization.
48203+ example: "2024-01-15T10:30:00Z"
48204+ format: date-time
48205+ type: string
48206+ name:
48207+ description: The name of the organization.
48208+ example: "My Organization"
48209+ type: string
48210+ public_id:
48211+ description: The public identifier of the organization.
48212+ example: "abcdef12345"
48213+ type: string
48214+ sharing:
48215+ description: The sharing setting of the organization.
48216+ example: "none"
48217+ type: string
48218+ url:
48219+ description: The URL of the organization.
48220+ example: "https://app.datadoghq.com/account/my-org"
48221+ type: string
48222+ required:
48223+ - public_id
48224+ - name
48225+ - description
48226+ - sharing
48227+ - url
48228+ - disabled
48229+ - created_at
48230+ - modified_at
48231+ type: object
4811748232 OrgConfigGetResponse:
4811848233 description: A response with a single Org Config.
4811948234 properties:
@@ -48415,6 +48530,44 @@ components:
4841548530 type: string
4841648531 x-enum-varnames:
4841748532 - USERS
48533+ OrgData:
48534+ description: An organization resource.
48535+ properties:
48536+ attributes:
48537+ $ref: "#/components/schemas/OrgAttributes"
48538+ id:
48539+ description: The UUID of the organization.
48540+ example: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
48541+ format: uuid
48542+ type: string
48543+ type:
48544+ $ref: "#/components/schemas/OrgResourceType"
48545+ required:
48546+ - id
48547+ - type
48548+ - attributes
48549+ type: object
48550+ OrgRelationshipData:
48551+ description: Reference to an organization resource.
48552+ properties:
48553+ id:
48554+ description: The UUID of the organization.
48555+ example: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
48556+ format: uuid
48557+ type: string
48558+ type:
48559+ $ref: "#/components/schemas/OrgResourceType"
48560+ required:
48561+ - id
48562+ - type
48563+ type: object
48564+ OrgResourceType:
48565+ description: The resource type for organizations.
48566+ enum: [orgs]
48567+ example: "orgs"
48568+ type: string
48569+ x-enum-varnames:
48570+ - ORGS
4841848571 Organization:
4841948572 description: Organization object.
4842048573 properties:
@@ -98143,6 +98296,83 @@ paths:
9814398296 operator: OR
9814498297 permissions:
9814598298 - on_call_read
98299+ /api/v2/org:
98300+ get:
98301+ description: Returns the current organization and its managed organizations in JSON:API format.
98302+ operationId: ListOrgsV2
98303+ parameters:
98304+ - description: Filter managed organizations by name.
98305+ example: "My Child Org"
98306+ in: query
98307+ name: "filter[name]"
98308+ required: false
98309+ schema:
98310+ type: string
98311+ responses:
98312+ "200":
98313+ content:
98314+ application/json:
98315+ examples:
98316+ default:
98317+ value:
98318+ data:
98319+ id: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
98320+ relationships:
98321+ current_org:
98322+ data:
98323+ id: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
98324+ type: "orgs"
98325+ managed_orgs:
98326+ data:
98327+ - id: "a1b2c3d4-00cc-11ea-a77b-570c9d03c6c5"
98328+ type: "orgs"
98329+ type: "managed_orgs"
98330+ included:
98331+ - attributes:
98332+ created_at: "2019-09-26T17:28:28Z"
98333+ description: "Production organization."
98334+ disabled: false
98335+ modified_at: "2024-01-15T10:30:00Z"
98336+ name: "My Organization"
98337+ public_id: "abcdef12345"
98338+ sharing: "none"
98339+ url: "https://app.datadoghq.com/account/my-org"
98340+ id: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
98341+ type: "orgs"
98342+ - attributes:
98343+ created_at: "2020-05-10T12:00:00Z"
98344+ description: "Child organization."
98345+ disabled: false
98346+ modified_at: "2024-06-20T08:15:00Z"
98347+ name: "My Child Org"
98348+ public_id: "ghijkl67890"
98349+ sharing: "none"
98350+ url: "https://app.datadoghq.com/account/my-child-org"
98351+ id: "a1b2c3d4-00cc-11ea-a77b-570c9d03c6c5"
98352+ type: "orgs"
98353+ schema:
98354+ $ref: "#/components/schemas/ManagedOrgsResponse"
98355+ description: OK
98356+ "401":
98357+ $ref: "#/components/responses/UnauthorizedResponse"
98358+ "403":
98359+ $ref: "#/components/responses/ForbiddenResponse"
98360+ "429":
98361+ $ref: "#/components/responses/TooManyRequestsResponse"
98362+ security:
98363+ - apiKeyAuth: []
98364+ appKeyAuth: []
98365+ - AuthZ:
98366+ - org_management
98367+ - org_connections_write
98368+ summary: List your managed organizations
98369+ tags:
98370+ - Organizations
98371+ "x-permission":
98372+ operator: OR
98373+ permissions:
98374+ - org_management
98375+ - org_connections_write
9814698376 /api/v2/org_configs:
9814798377 get:
9814898378 description: Returns all Org Configs (name, description, and value).
@@ -114716,6 +114946,50 @@ paths:
114716114946 permissions:
114717114947 - user_access_manage
114718114948 - service_account_write
114949+ /api/v2/users/{user_id}/invitations:
114950+ delete:
114951+ description: |-
114952+ Cancel all pending invitations for a specified user.
114953+ Requires the `user_access_invite` permission.
114954+ operationId: DeleteUserInvitations
114955+ parameters:
114956+ - description: The UUID of the user whose pending invitations should be canceled.
114957+ in: path
114958+ name: user_id
114959+ required: true
114960+ schema:
114961+ example: "4dee724d-00cc-11ea-a77b-570c9d03c6c5"
114962+ format: uuid
114963+ type: string
114964+ responses:
114965+ "200":
114966+ description: OK
114967+ "403":
114968+ content:
114969+ application/json:
114970+ schema:
114971+ $ref: "#/components/schemas/APIErrorResponse"
114972+ description: Authentication error
114973+ "404":
114974+ content:
114975+ application/json:
114976+ schema:
114977+ $ref: "#/components/schemas/APIErrorResponse"
114978+ description: Not found
114979+ "429":
114980+ $ref: "#/components/responses/TooManyRequestsResponse"
114981+ security:
114982+ - apiKeyAuth: []
114983+ appKeyAuth: []
114984+ - AuthZ:
114985+ - user_access_invite
114986+ summary: Delete a pending user's invitations
114987+ tags:
114988+ - Users
114989+ "x-permission":
114990+ operator: OR
114991+ permissions:
114992+ - user_access_invite
114719114993 /api/v2/users/{user_id}/orgs:
114720114994 get:
114721114995 description: |-
0 commit comments