social.colibri.beta.role.delete
Deletes a role.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | role.beta.colibri.social |
| Indexed |
Showing version bafyreifz4j5bdvdwsninotfckjez2bl5xsf47jclxw27udhrk4lsoffowu. Show the latest
Procedure
procedure · POSTInput
application/jsonOutput
application/jsonErrors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The caller lacks the role.manage permission.
CommunityNotFound
No community exists at the given DID.
RoleNotFound
No role exists at the given record key.
RoleProtected
The role is marked protected and cannot be deleted.
RoleHierarchy
The role is at or above the caller's highest role position.
CredentialsUnavailable
The AppView cannot act as the community because its stored credentials are missing or unusable.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Deletes a role.
-
com.getorbyt.community.deleteRole
procedureDeletes a role the Community defined, or, for the key moderator, puts the built-in moderator role back to its default permissions. A role someone holds cannot be deleted; move them to another role first. Only an administrator may delete roles. Recorded in the moderation log.
-
fyi.opensocial.deleteRole
procedureRemove a role. Requires group.configure. Fails if any membership still holds it.
-
social.colibri.beta.community.delete
procedureDeletes the community's spaces and its account. Members' own records stay in their own repos and simply become unreadable.
-
social.colibri.beta.category.delete
procedureDeletes a category. Its channels are not deleted: they become uncategorised until moved to another category.