Skip to content

Commit 0e1b3fe

Browse files
committed
Add updateGroupMemberRole
1 parent f1d3c24 commit 0e1b3fe

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

team_admin_account_operations.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,36 @@ paths:
10581058
is_admin: false
10591059
role: Member
10601060
/api/v2.1/org/{org_id}/admin/groups/{group_id}/members/{user_id}/:
1061+
put:
1062+
tags:
1063+
- Groups
1064+
summary: Update Group Member Role
1065+
operationId: updateGroupMemberRole
1066+
description: Update a member's role.
1067+
security:
1068+
- AccountTokenAuth: []
1069+
parameters:
1070+
- $ref: "#/components/parameters/org_id"
1071+
- $ref: "#/components/parameters/group_id"
1072+
- $ref: "#/components/parameters/user_id"
1073+
requestBody:
1074+
content:
1075+
application/json:
1076+
schema:
1077+
type: object
1078+
required: [is_admin]
1079+
properties:
1080+
is_admin:
1081+
# FIXME: The API should accept a boolean...
1082+
type: string
1083+
example: "true"
1084+
responses:
1085+
"200":
1086+
description: OK
1087+
content:
1088+
application/json:
1089+
schema:
1090+
type: object
10611091
delete:
10621092
tags:
10631093
- Groups

0 commit comments

Comments
 (0)