Skip to content

[NEW] API methods to create new roles and set it to users within rooms/groups #11566

@aferreira44

Description

@aferreira44

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
I want to create a new role and set it to the users via API.
So, the idea is to create two API methods:

  1. Create a new role passing as arguments (name, scope, description)
  2. Set a role to an user passing as arguments (room_id, user_id, role_id).

Describe alternatives you've considered
I can do this on the page below, but I need to do these actions via API.

image

Additional context
I search in the docs, but I can't found it how to do this. Please, let me know if there's an API method for this because otherwise, I'm thinking to contribute to the project for it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions