chore: Add API documentation for teams (#2221)
Add API documentation for teams
This commit is contained in:
19
swagger/paths/teams/create.yml
Normal file
19
swagger/paths/teams/create.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
tags:
|
||||
- Teams
|
||||
operationId: create-a-team
|
||||
summary: Create a team
|
||||
description: Create a team in the account
|
||||
parameters:
|
||||
- $ref: '#/parameters/account_id'
|
||||
- name: data
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/team_create_update_payload'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/team'
|
||||
401:
|
||||
description: Unauthorized
|
||||
Reference in New Issue
Block a user