← Tools Reference

Permit.io

Permit.io integration (Developer Tools, Security). Imported from open-connector.

API key13 toolshttps://api.permit.io
GET
permit_io_list_users
List users in a Permit.io environment.

/users

6 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
searchstringoptionalText to search for in user email addresses.
rolestringoptionalOnly return users assigned this role id or key.
pageintegeroptionalThe page number to retrieve, starting at 1.
perPageintegeroptionalThe maximum number of records per page.
GET
permit_io_get_user
Retrieve a Permit.io user by id or key.

/users/{userId}

3 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userIdstringrequiredThe Permit.io user id or key.
POST
permit_io_create_user
Create a user in a Permit.io environment.

/users

7 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
keystringrequiredThe unique key Permit.io uses to identify the user.
emailstringoptionalThe user's email address.
first_namestringoptionalThe user's first name.
last_namestringoptionalThe user's last name.
attributesobjectoptionalArbitrary user attributes used by attribute-based policies.
PATCH
permit_io_update_user
Partially update a Permit.io user.

/users/{userId}

7 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userIdstringrequiredThe Permit.io user id or key.
emailstringoptionalThe user's email address.
first_namestringoptionalThe user's first name.
last_namestringoptionalThe user's last name.
attributesobjectoptionalArbitrary user attributes used by attribute-based policies.
DELETE
permit_io_delete_user
Delete a Permit.io user by id or key.

/users/{userId}

3 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userIdstringrequiredThe Permit.io user id or key.
GET
permit_io_list_tenants
List tenants in a Permit.io environment.

/tenants

5 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
searchstringoptionalText to search for in tenant names or keys.
pageintegeroptionalThe page number to retrieve, starting at 1.
perPageintegeroptionalThe maximum number of records per page.
GET
permit_io_get_tenant
Retrieve a Permit.io tenant by id or key.

/tenants/{tenantId}

3 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
tenantIdstringrequiredThe Permit.io tenant id or key.
POST
permit_io_create_tenant
Create a tenant in a Permit.io environment.

/tenants

6 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
keystringrequiredThe URL-friendly key Permit.io uses to identify the tenant.
namestringrequiredThe descriptive tenant name.
descriptionstringoptionalThe longer tenant description.
attributesobjectoptionalArbitrary tenant attributes used by attribute-based policies.
PATCH
permit_io_update_tenant
Partially update a Permit.io tenant.

/tenants/{tenantId}

6 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
tenantIdstringrequiredThe Permit.io tenant id or key.
namestringoptionalThe descriptive tenant name.
descriptionstringoptionalThe longer tenant description.
attributesobjectoptionalArbitrary tenant attributes used by attribute-based policies.
DELETE
permit_io_delete_tenant
Delete a Permit.io tenant by id or key.

/tenants/{tenantId}

3 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
tenantIdstringrequiredThe Permit.io tenant id or key.
GET
permit_io_list_role_assignments
List role assignments in a Permit.io environment.

/role_assignments

10 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userstringoptionalOnly return assignments for this user id or key.
rolestringoptionalOnly return assignments granting this role id or key.
tenantstringoptionalOnly return assignments in this tenant id or key.
resourcestringoptionalOnly return assignments for this resource type.
resourceInstancestringoptionalOnly return assignments for this resource instance.
detailedbooleanoptionalWhether to include full user, tenant, and role details.
pageintegeroptionalThe page number to retrieve, starting at 1.
perPageintegeroptionalThe maximum number of records per page.
POST
permit_io_assign_role
Assign a Permit.io role to a user.

/role_assignments

6 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userstringrequiredThe user id or key receiving the role.
rolestringrequiredThe role id or key to assign or remove.
tenantstringoptionalThe tenant id or key that scopes the role.
resource_instancestringoptionalThe resource instance id, or resource_type:resource_instance key, that scopes t…
DELETE
permit_io_unassign_role
Remove a Permit.io role assignment from a user.

/role_assignments

6 parameters
ParamTypeRequiredDescription
projectIdstringoptionalThe Permit.io project id or key. Required when the connected API key is not env…
environmentIdstringoptionalThe Permit.io environment id or key. Required when the connected API key is not…
userstringrequiredThe user id or key receiving the role.
rolestringrequiredThe role id or key to assign or remove.
tenantstringoptionalThe tenant id or key that scopes the role.
resource_instancestringoptionalThe resource instance id, or resource_type:resource_instance key, that scopes t…