Create a new group
Creates a new group. Restricted to admins only.
Required scopes: WORKSPACE
Resource URL
POST /workspaces/:domain/groups
URL Parameters
Name | Type | Description |
---|---|---|
domain Required | String | The workspace domain. |
POST Parameters
Name | Type | Description |
---|---|---|
name Required | String | The name of the group. |
description | String | The description of the group. |
Example
Request
POST https://api.buddy.works/workspaces/buddy/groups
JSON
{"name": "JAVA","description": "Java developers"}
Sample Response
HTTP
Status: 201 CreatedX-Rate-Limit-Limit: 1X-Rate-Limit-Remaining: 999
JSON
{"url": "https://api.buddy.works/workspaces/buddy/groups/1","html_url": "https://app.buddy.works/buddy/group/1","id": 1,"name": "JAVA","description": "Java developers"}