File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed
transcripts/share-apis/orgs Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 11{
2- "body" : " Cannot remove the only owner of an org." ,
2+ "body" : {
3+ "members" : [
4+ {
5+ "roles" : " org_maintainer" ,
6+ "subject" : {
7+ "avatarUrl" : null ,
8+ "handle" : " test" ,
9+ "name" : null ,
10+ "userId" : " U-<UUID>"
11+ }
12+ },
13+ {
14+ "roles" : " org_owner" ,
15+ "subject" : {
16+ "avatarUrl" : " https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?f=y&d=retro" ,
17+ "handle" : " transcripts" ,
18+ "name" : " The Transcript User" ,
19+ "userId" : " U-<UUID>"
20+ }
21+ }
22+ ]
23+ },
324 "status" : [
425 {
5- "status_code" : 400
26+ "status_code" : 200
627 }
728 ]
829}
Original file line number Diff line number Diff line change 1+ {
2+ "body" : " Cannot remove the only owner of an org." ,
3+ "status" : [
4+ {
5+ "status_code" : 400
6+ }
7+ ]
8+ }
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ fetch "$transcripts_user" DELETE org-remove-members '/orgs/acme/members' '{
100100}'
101101
102102# Cannot remove the only owner
103- fetch " $transcripts_user " DELETE org-remove-members ' /orgs/acme/members' ' {
103+ fetch " $transcripts_user " DELETE org-remove-only-owner ' /orgs/acme/members' ' {
104104 "members": [
105105 "transcripts"
106106 ]
You can’t perform that action at this time.
0 commit comments