Description
Use a HTTP POST request to create a team.
Request
HTTP Method: POST
Parameter | Description |
---|---|
id | The team ID. |
name | The team name. |
Path Parameter | Description |
---|---|
N/A |
Sample request
curl -X POST \
https://<<META.tenant.domain>>/api/v1/teams/ \
-H 'content-type: application/json' \
-H 'x-user-token: <<CREDENTIAL.tines_api_key>>'
-d '{
"name": "Security team"
}'
Response
A successful request will return a JSON object describing the created team
Field description
Parameter | Description |
---|---|
id | The team ID. |
name | The team name. |
Sample response
{
"id": 1,
"name": "Security team"
}