com.getorbyt.community.deleteRole
Deletes 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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.getorbyt.com |
| Indexed |
Procedure
procedure · POSTOutput
application/jsonErrors
AuthenticationRequired
No description in schema.
CommunityNotFound
No description in schema.
InsufficientRole
No description in schema.
InvalidRequest
No description in schema.
RoleNotFound
No description in schema.
RoleInUse
A member holds this role. Move them to another role first.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.beta.role.delete
procedureDeletes a role.
-
Deletes a role.
-
com.getorbyt.community.saveRole
procedureCreates a Community role, or changes one. Without a key it creates a role; with one it replaces that role's name and permissions. The key moderator changes what the built-in moderator role may do, and keeps its name. Only an administrator may define roles. Recorded in the moderation log.
-
fyi.opensocial.deleteRole
procedureRemove a role. Requires group.configure. Fails if any membership still holds it.
-
app.didpic.admin.revokeRole
procedureRevoke a role.