Post
/api/v1/groups.setPurpose
(Obsolete) Sets the description for the group/channel (the same as groups.setDescription).
Changelog
| Version | Description |
|---|---|
| 0.48.0 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Body parameters
Example
{
"roomId": "ByehQjC44FwMeiLbX",
"purpose": "Test out everything"
}object
roomId
string Required
The private group ID.
purpose
string Required
The group purpose
Responses
200
OK
Success
{
"purpose": "Testing out everything.",
"success": true
}object
purpose
string
success
boolean