dev.knotless.endOrgMembership
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Deletes the account's dev.knotless.membership records naming the organization, then asks its gateway to take the account out (dev.knotless.leaveOrg). The membership ends with the records: a gateway that does not answer leaves a warning. Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
5
+
"description": "Deletes the account's dev.knotless.orgAcceptance records naming the organization, then asks its gateway to take the account out (dev.knotless.leaveOrg). The membership ends with the records: a gateway that does not answer leaves a warning. Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
6
6
"errors": [
7
7
{
8
8
"description": "The change was refused: by the organization's gateway, or as the account may not make it.",
9
9
"name": "InvalidRequest"
10
10
},
11
11
{
12
12
"description": "No account is logged in to the pages, or its session has ended.",
13
13
"name": "AuthenticationRequired"
14
14
}
15
15
],
16
16
"input": {
17
17
"encoding": "application/json",
18
18
"schema": {
19
19
"properties": {
20
20
"org": {
21
21
"description": "The organization.",
22
22
"format": "did",
23
23
"type": "string"
24
24
}
25
25
},
26
26
"required": [
27
27
"org"
28
28
],
29
29
"type": "object"
30
30
}
31
31
},
32
32
"output": {
33
33
"encoding": "application/json",
34
34
"schema": {
35
35
"properties": {
36
36
"warning": {
37
37
"description": "Set when the change was made only in part, saying what is left.",
38
38
"maxLength": 2000,
39
39
"type": "string"
40
40
}
41
41
},
42
42
"type": "object"
43
43
}
44
44
},
45
45
"type": "procedure"
46
46
}
47
47
},
48
48
"description": "Leaves an organization as the account logged in to this appview's pages, or declines its invitation, as `knotless org leave` does.",
49
49
"id": "dev.knotless.endOrgMembership",
50
50
"lexicon": 1
51
51
}