cURL
curl --request POST \ --url https://api.openworklabs.com/v1/orgs/{orgId}/teams \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "memberIds": [ "<string>" ] } '
{ "team": { "id": "<string>", "organizationId": "<string>", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "memberIds": [ "<string>" ] } }
Creates a team inside an organization and can optionally attach existing organization members to it.
Den TypeID with 'org_' prefix and a 26-character base32 suffix.
30
^org_.*
1 - 255
Den TypeID with 'om_' prefix and a 26-character base32 suffix.
29
^om_.*
Team created successfully.
Show child attributes