set_participant_role
Assign or update a conversation participant's role to owner, moderator, or user, enforcing moderator and owner permission rules.
Instructions
Make a participant owner, moderator or plain user. Needs moderator rights (owner rights for owners).
Moderators manage the conversation and its participants. Owners are moderators nobody can remove; only owners can make someone owner or demote an owner, and an owner can step down to moderator. Owners need Talk 25 (Nextcloud 35) and exist only in group and public conversations. Guests can only be moderator or user, groups and teams have no role, and the last moderator cannot be demoted.
Args: token: The conversation token. attendee_id: The participant's attendee ID, from get_participants. role: "owner", "moderator" or "user".
Returns: JSON with the participant afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| token | Yes | ||
| attendee_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |