Créez une équipe avec un nom, un emoji facultatif et les identifiants des membres à ajouter.
POST/v2/api/member_groups
Créez une équipe avec un nom, un emoji facultatif et les identifiants des membres à ajouter.
Dans team_member_ids, utilisez les identifiants des membres de votre espace de travail, comme mem-abc123. La page Lister les utilisateurs indique comment obtenir team_member_id.
Autorisation
Authorizationstring · headerrequis
Api-Key ak_live_…
Corps
namestringrequis
Team name. Allo trims whitespace and requires 1 to 80 characters.
emojistring | null
One emoji. An empty string clears it. On update, null leaves it unchanged.
team_member_idsstring[]
Workspace team member IDs in membership order. Duplicate IDs are collapsed.
Réponses
201Create team
dataobjectrequis
5 champs
idstringrequis
namestringrequis
Team name. Allo trims whitespace and requires 1 to 80 characters.
emojistring | null
One emoji. An empty string clears it. On update, null leaves it unchanged.
team_member_idsstring[]requis
Workspace team member IDs in membership order. Duplicate IDs are collapsed.