Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.35 KB

File metadata and controls

36 lines (26 loc) · 1.35 KB

Set Group Description

Sets the description for the group/channel.

HTTP MethodURLRequires Auth
POST/api/v1/groups.setDescriptionyes

Body Parameters

KeyExample ValueDescription
roomId*ByehQjC44FwMeiLbXThe group ID.
description*Test out everythingThe description to set for the group.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     http://localhost:3000/api/v1/groups.setDescription \
     -d '{ 
          "roomId": "ByehQjC44FwMeiLbX", 
          "description": "Test out everything" }'

Example Response

{
  "description": "Testing out everything",
  "success": true
}

Change Log

Version Description
0.48.0 Added