Team

Create a team

Create a team for the company

post/api/v1/team

Request

  • Base URL
    https://api.pwapps.com (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URLhttps://api.pwapps.com/api/v1/user/login
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

namestring nullable

Name of the team.

companyIdstring uuid nullable

ID of the organization the team belongs to.

Example request

{
  "company_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Marketing Team"
}

Response

Resource created successfully.

detailstring

Changes

No recorded changes to this operation across all 12 revisions of this API.