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
+32-15Lines changed: 32 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -29,20 +29,28 @@ paths:
29
29
description: Internal server error
30
30
31
31
/api/identity/orgs/{orgID}/teams/{teamId}:
32
-
delete:
33
-
summary: Remove team from organization
34
-
description: Removes (unassigns) a team from an organization.
35
-
operationId: RemoveTeamFromOrg
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
36
parameters:
37
37
- $ref: "#/components/parameters/orgID"
38
38
- $ref: "#/components/parameters/teamId"
39
+
requestBody:
40
+
required: false
41
+
content:
42
+
application/json:
43
+
schema:
44
+
$ref: "#/components/schemas/OrgTeamActionPayload"
39
45
responses:
40
46
"200":
41
-
description: Team removed from organization
47
+
description: Team added to organization or team tombstoned
0 commit comments