Skip to content

Create a Team



POST /api/v1/workspace/member_group/add

Overview

Create a team

Body Request Parameters

Parameter Name Type Required Description
name string Y Team name
Allow null: False
Maximum length: 48
accountUUIDs array N Account list
Example: ['xxxx', 'xxx']
Allow null: True

Additional Parameter Explanation

Request Example

curl 'https://openapi.guance.com/api/v1/workspace/member_group/add' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  --data-raw '{"name": "Test","accountUUIDs": ["acnt_xxxx32"]}' \
  --compressed \
  --insecure

Response

{
    "code": 200,
    "content": {
        "uuid": "group_xxxx32"
    },
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-799143AC-5EDC-4901-A8B6-5AAE1F9D6655"
} 

Feedback

Is this page helpful? ×