put https://slemma.com/api/v1/teams
Creates a new team. To create a team you have to provide the team Name and the Owner ID. Only for Server admins
Returns
Returns the new team object. The result will include the field OwnerSIG and TeanSecret for the created team.
The following are the examples of HTTP status codes including errors that API can generate
Response codes | Response content | Description |
---|---|---|
200 OK | A team object | The team has been created successfully. |
400 Bad Request | Property 'Owner' cannot be empty | The field "Owner" cannot be empty. |
400 Bad Request | User not found | User with the specified identifier was not found. |