For the complete documentation index, see llms.txt. This page is also available as Markdown.

Access list

The following endpoints let you view and manage the access list (entity ACL) of a connection — the users granted a role on it.

List a connection's access list

get
/teams/{teamId}/connections/{connectionId}/access-list

Returns the access list (entity ACL) of a connection — the principals granted a role on it.

A caller holding the entity use permission on the connection sees every member; any other member of the connection's team sees only the Entity Admins. The connection 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).

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
teamIdinteger · min: 1Required

The ID of the team that owns the connection.

Example: 1
connectionIdintegerRequired

The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.

Example: 128
Responses
200

The access-list members visible to the caller.

application/json
get/teams/{teamId}/connections/{connectionId}/access-list

Add a member to a connection's access list

post
/teams/{teamId}/connections/{connectionId}/access-list/users

Adds a user to a connection's access list (entity ACL) with a role.

Requires entity manage on the connection, and the target user must already be a member of the connection'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.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
teamIdinteger · min: 1Required

The ID of the team that owns the connection.

Example: 1
connectionIdintegerRequired

The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.

Example: 128
Body
userIdinteger · min: 1Required

The id of the user to add. Must already be a member of the entity's team.

Example: 214
rolestring · enumRequired

The entity-tier role to grant the user on the connection or key.

Example: entity:entity-memberPossible values:
Responses
200

The created access-list member.

application/json
post/teams/{teamId}/connections/{connectionId}/access-list/users

Remove a member from a connection's access list

delete
/teams/{teamId}/connections/{connectionId}/access-list/users/{userId}

Removes a user from a connection'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 connection without an Entity Admin.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
teamIdinteger · min: 1Required

The ID of the team that owns the connection.

Example: 1
connectionIdintegerRequired

The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.

Example: 128
userIdinteger · min: 1Required

The ID of the user to remove.

Example: 214
Responses
204

The user was removed from the access list.

No content

delete/teams/{teamId}/connections/{connectionId}/access-list/users/{userId}

No content

Change a connection access-list member's role

patch
/teams/{teamId}/connections/{connectionId}/access-list/users/{userId}

Changes the entity-tier role of a user already on a connection'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 connection's last Entity Admin.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

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.

Path parameters
teamIdinteger · min: 1Required

The ID of the team that owns the connection.

Example: 1
connectionIdintegerRequired

The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.

Example: 128
userIdinteger · min: 1Required

The ID of the user whose role to change.

Example: 214
Body
rolestring · enumRequired

The entity-tier role to set for the user on the connection or key.

Example: entity:entity-adminPossible values:
Responses
200

The updated access-list member.

application/json
patch/teams/{teamId}/connections/{connectionId}/access-list/users/{userId}

Last updated