teams
6 endpoints.
get/api/teams#
curl https://api.shairelabs.com/api/teams \
-H "Authorization: Bearer $SHAIRE_TOKEN"idstring · uuid*workspaceIdstring · uuid*namestring*memberCountinteger*createdAtstring*post/api/teams#
workspace:adminadmin only
namestring*curl https://api.shairelabs.com/api/teams \
-X POST \
-H "Authorization: Bearer $SHAIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'idstring · uuid*workspaceIdstring · uuid*namestring*memberCountinteger*createdAtstring*memberIds(string · uuid)[]*get/api/teams/{id}#
idstring*curl https://api.shairelabs.com/api/teams/$TEAM_ID \
-H "Authorization: Bearer $SHAIRE_TOKEN"idstring · uuid*workspaceIdstring · uuid*namestring*memberCountinteger*createdAtstring*memberIds(string · uuid)[]*patch/api/teams/{id}#
workspace:adminadmin only
idstring*namestring*curl https://api.shairelabs.com/api/teams/$TEAM_ID \
-X PATCH \
-H "Authorization: Bearer $SHAIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'idstring · uuid*workspaceIdstring · uuid*namestring*memberCountinteger*createdAtstring*memberIds(string · uuid)[]*delete/api/teams/{id}#
workspace:adminadmin only
idstring*curl https://api.shairelabs.com/api/teams/$TEAM_ID \
-X DELETE \
-H "Authorization: Bearer $SHAIRE_TOKEN"put/api/teams/{id}/members#
workspace:adminadmin only
idstring*memberIds(string · uuid)[]*curl https://api.shairelabs.com/api/teams/$TEAM_ID/members \
-X PUT \
-H "Authorization: Bearer $SHAIRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"memberIds":[]}'idstring · uuid*workspaceIdstring · uuid*namestring*memberCountinteger*createdAtstring*memberIds(string · uuid)[]*