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 1
1
{
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
+ },
3
24
"status" : [
4
25
{
5
- "status_code" : 400
26
+ "status_code" : 200
6
27
}
7
28
]
8
29
}
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' '{
100
100
}'
101
101
102
102
# 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' ' {
104
104
"members": [
105
105
"transcripts"
106
106
]
You can’t perform that action at this time.
0 commit comments