Access list
The following endpoints let you view and manage the access list (entity ACL) of a key — the users granted a role on it.
Returns the access list (entity ACL) of a key — the principals granted a role on it.
A caller holding the entity use permission on the key sees every member; any other member of the key's team sees only the Entity Admins. The key must belong to the team in the path.
Requires the locked connections feature to be enabled for the organization the team belongs to; otherwise the endpoint returns 400 (IM903).
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team that owns the key.
1The ID of the key.
16The access-list members visible to the caller.
The locked connections feature is not enabled for the organization (IM903).
The caller is not allowed to view this access list (IM002).
The key does not exist in the given team (IM309).
GET /api/v2/teams/{teamId}/keys/{keyId}/access-list HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"accessList": [
{
"membershipType": "user",
"membershipId": 128,
"role": "entity:entity-admin",
"name": "Jane Doe",
"email": "jane.doe@example.com"
},
{
"membershipType": "user",
"membershipId": 214,
"role": "entity:entity-member",
"name": "John Smith",
"email": "john.smith@example.com"
}
]
}Adds a user to a key's access list (entity ACL) with a role.
Requires entity manage on the key, and the target user must already be a member of the key's team. Returns 409 when the user is already on the access list and 400 when they are not a team member or the feature is disabled.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team that owns the key.
1The ID of the key.
16The id of the user to add. Must already be a member of the entity's team.
214The entity-tier role to grant the user on the connection or key.
entity:entity-memberPossible values: The created access-list member.
The locked connections and keys feature is disabled (IM903), or the user is not a team member / the role is invalid (IM005).
The caller lacks entity manage on the key (IM002).
The key does not exist in the given team (IM309).
The user is already on the key's access list (SC409).
POST /api/v2/teams/{teamId}/keys/{keyId}/access-list/users HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"userId": 214,
"role": "entity:entity-member"
}{
"member": {
"membershipType": "user",
"membershipId": 214,
"role": "entity:entity-member",
"name": "John Smith",
"email": "john.smith@example.com"
}
}Remove a member from a key's access list
Removes a user from a key's access list.
Requires entity manage. Returns 404 if the user is not on the access list, and 409 if removing them would leave the key without an Entity Admin.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team that owns the key.
1The ID of the key.
16The ID of the user to remove.
214The user was removed from the access list.
No content
The locked connections and keys feature is disabled (IM903).
The caller lacks entity manage on the key (IM002).
The key is not in the team, or the user is not on its access list (IM309 / SC404).
Removing the user would leave the key without an Entity Admin (SC409).
DELETE /api/v2/teams/{teamId}/keys/{keyId}/access-list/users/{userId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
No content
Changes the entity-tier role of a user already on a key's access list.
Requires entity manage. Returns 404 if the user is not on the access list, and 409 if the change would demote the key's last Entity Admin.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the team that owns the key.
1The ID of the key.
16The ID of the user whose role to change.
214The entity-tier role to set for the user on the connection or key.
entity:entity-adminPossible values: The updated access-list member.
The locked connections and keys feature is disabled (IM903), or the role is invalid (IM005).
The caller lacks entity manage on the key (IM002).
The key is not in the team, or the user is not on its access list (IM309 / SC404).
The change would leave the key without an Entity Admin (SC409).
PATCH /api/v2/teams/{teamId}/keys/{keyId}/access-list/users/{userId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"role": "entity:entity-admin"
}{
"member": {
"membershipType": "user",
"membershipId": 214,
"role": "entity:entity-admin",
"name": "John Smith",
"email": "john.smith@example.com"
}
}Last updated

