Create a new team.
cURL
curl --request POST \ --url https://public.api.serval.com/v2/teams \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "prefix": "<string>", "description": "<string>", "userIds": [ "<string>" ] }'
{ "data": { "id": "<string>", "name": "<string>", "prefix": "<string>", "description": "<string>", "organizationId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "userIds": [ "<string>" ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
Show child attributes