Set Group Chat Admin
With this request a group chat participant can be set or removed as an administrator.
Resource
PUT /chats/group/<SESSION_ID>participants/<PARTICIPANT_ID>/admin
Where 'SESSION_ID' is the id of the chat session and 'PARTICIPANT_ID' is the id of the participant user.
Parameters
None
Payload
True if the participant shoud be an admin and false if admin right should be removed from the admin.
Response
None
Context
Authorization |
User |
Errors
Example
Request
PUT https://xelion.nl/api/v1/master/chats/group/12454/participants/12345/admin
Payload
{
"value": true
}