You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schemas/constructs/v1beta1/organization/api.yml
+150Lines changed: 150 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,77 @@ paths:
28
28
"500":
29
29
description: Internal server error
30
30
31
+
/api/identity/orgs/{orgID}/teams/{teamId}:
32
+
post:
33
+
summary: Add team to organization or soft delete team
34
+
description: Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact.
35
+
operationId: AddTeamToOrg
36
+
parameters:
37
+
- $ref: "#/components/parameters/orgID"
38
+
- $ref: "#/components/parameters/teamId"
39
+
requestBody:
40
+
required: false
41
+
content:
42
+
application/json:
43
+
schema:
44
+
$ref: "#/components/schemas/OrgTeamActionPayload"
45
+
responses:
46
+
"200":
47
+
description: Team added to organization or team tombstoned
0 commit comments