Skip to main content

Create

Description

Use a HTTP POST request to create a team.

Request

HTTP Method: POST

ParameterDescription
idThe team ID.
nameThe team name.
Path ParameterDescription
N/A

Sample request

curl -X POST \
https://<tenant-domain>/api/v1/teams/ \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address>' \
-H 'x-user-token: <api-token>'
-d '{
"name": "Security team"
}'

Response

A successful request will return a JSON object describing the created team

Field description

ParameterDescription
idThe team ID.
nameThe team name.

Sample response

{
"id": 1,
"name": "Security team"
}