full diff

social.colibri.beta.role.delete

colibri.social +4 −0
From
bafyreifz4j5bdvdwsninotfckjez2bl5xsf47jclxw27udhrk4lsoffowu indexed 2026-08-23 12:32 UTC View this version
To
bafyreifu5bxuzq66zi4ycwbnhh3l4u4qmrock3cmaniavoypj7mo4a7hja indexed 2026-10-18 13:08 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Deletes a role.",
66 "errors": [
77 {
88 "description": "The request is missing, malformed, or unverifiable service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "The caller lacks the role.manage permission.",
1313 "name": "Forbidden"
1414 },
1515 {
1616 "description": "No community exists at the given DID.",
1717 "name": "CommunityNotFound"
1818 },
1919 {
2020 "description": "No role exists at the given record key.",
2121 "name": "RoleNotFound"
2222 },
2323 {
2424 "description": "The role is marked protected and cannot be deleted.",
2525 "name": "RoleProtected"
2626 },
2727 {
28 "description": "Every member holds the role from the moment they join, so it cannot be deleted.",
29 "name": "RoleDefault"
30 },
31 {
2832 "description": "The role is at or above the caller's highest role position.",
2933 "name": "RoleHierarchy"
3034 },
3135 {
3236 "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
3337 "name": "CredentialsUnavailable"
3438 }
3539 ],
3640 "input": {
3741 "encoding": "application/json",
3842 "schema": {
3943 "properties": {
4044 "community": {
4145 "description": "The community the role belongs to.",
4246 "format": "did",
4347 "type": "string"
4448 },
4549 "role": {
4650 "description": "The role's record key.",
4751 "format": "record-key",
4852 "type": "string"
4953 }
5054 },
5155 "required": [
5256 "community",
5357 "role"
5458 ],
5559 "type": "object"
5660 }
5761 },
5862 "output": {
5963 "encoding": "application/json",
6064 "schema": {
6165 "properties": {},
6266 "type": "object"
6367 }
6468 },
6569 "type": "procedure"
6670 }
6771 },
6872 "id": "social.colibri.beta.role.delete",
6973 "lexicon": 1
7074}

Compare other versions