Create

  • POST
  • /workspaces
  • /:domain
  • /groups

Creates a new group. Restricted to admins only.

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
domainrequired string
The workspace domain.
POST PARAMETERS
namerequired string
The name of the group.
descriptionstring
The description of the group.

Last modified on Sep 27, 2024

Example:

curl -X POST "https://api.buddy.works/workspaces/:domain/groups" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "JAVA",
  "description": "Java developers"
}'
EXAMPLE RESPONSE
{ "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" }
STATUS
201 Created
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999