Admin > Teams
The following endpoint allows you to create new teams within organizations in the Make White Label product. You can set the team admin directly in the API call request body.
Gets the list of teams in the organization with the specified organizationId
.
The ID of the organization.
22
Custom team ID from an external system to the Make White Label platform.
The value that will be used to sort returned entities by.
The value of entities you want to skip before getting entities you need.
The sorting order. It accepts the ascending and descending direction specifiers.
Sets the maximum number of results per page in the API call response. For example, pg[limit]=100
. The default number varies with different API endpoints.
Successful response
GET /api/v2/admin/teams?organizationId=1 HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"teams": [
{
"id": 38,
"name": "Management",
"organizationId": 22,
"scenarioDrafts": false,
"deleted": false,
"externalId": null
},
{
"id": 36,
"name": "Removed team",
"organizationId": 20,
"scenarioDrafts": false,
"deleted": true,
"externalId": null
}
],
"pg": {
"sortBy": "name",
"limit": 10000,
"sortDir": "asc",
"offset": 0
}
}
Creates a new team in the specified organization.
You can set the team admin with the parameter userTeamAdmin
in the request body. If you don't use the userTeamAdmin
parameter and you are part of the organization, then Make sets you as the team admin.
The name of the team.
The ID of the organization.
Set the user with the specified userId
as the admin of the team.
Successful response
POST /api/v2/admin/teams HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"name": "Marketing team",
"organizationId": 20,
"userTeamAdmin": 15
}
Successful response
{
"team": {
"id": 26,
"name": "Marketing team",
"organizationId": 20
},
"userTeamRole": {
"usersRoleId": 1,
"userId": 15,
"teamId": 26,
"changeable": false,
"ssoPending": false
}
}
Deletes the team with the specified teamId
. Make removes all users from the deleted team and deletes all data associated with the team, such as data stores and scenarios.
The team won't be visible for the users. However, if you run the API call GET /admin/teams
the response will contain also the deleted team with the deleted: true
pair. Similarly, the team will remain visible in the Administration UI.
The ID of the team.
22
Successful response
DELETE /api/v2/admin/teams/{teamId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"team": 22
}
Updates team information. Make updates only the values in the request body.
The ID of the team.
56
The name of the team.
Successful response
PATCH /api/v2/admin/teams/{teamId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"name": "Sales people team"
}
Successful response
{
"id": 56,
"name": "Sales people team",
"organizationId": 22,
"scenarioDrafts": false,
"deleted": false,
"externalId": null
}