Permit.io integration (Developer Tools, Security). Imported from open-connector.
https://api.permit.io/users
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| search | string | optional | Text to search for in user email addresses. |
| role | string | optional | Only return users assigned this role id or key. |
| page | integer | optional | The page number to retrieve, starting at 1. |
| perPage | integer | optional | The maximum number of records per page. |
/users/{userId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| userId | string | required | The Permit.io user id or key. |
/users
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| key | string | required | The unique key Permit.io uses to identify the user. |
| string | optional | The user's email address. | |
| first_name | string | optional | The user's first name. |
| last_name | string | optional | The user's last name. |
| attributes | object | optional | Arbitrary user attributes used by attribute-based policies. |
/users/{userId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| userId | string | required | The Permit.io user id or key. |
| string | optional | The user's email address. | |
| first_name | string | optional | The user's first name. |
| last_name | string | optional | The user's last name. |
| attributes | object | optional | Arbitrary user attributes used by attribute-based policies. |
/users/{userId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| userId | string | required | The Permit.io user id or key. |
/tenants
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| search | string | optional | Text to search for in tenant names or keys. |
| page | integer | optional | The page number to retrieve, starting at 1. |
| perPage | integer | optional | The maximum number of records per page. |
/tenants/{tenantId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| tenantId | string | required | The Permit.io tenant id or key. |
/tenants
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| key | string | required | The URL-friendly key Permit.io uses to identify the tenant. |
| name | string | required | The descriptive tenant name. |
| description | string | optional | The longer tenant description. |
| attributes | object | optional | Arbitrary tenant attributes used by attribute-based policies. |
/tenants/{tenantId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| tenantId | string | required | The Permit.io tenant id or key. |
| name | string | optional | The descriptive tenant name. |
| description | string | optional | The longer tenant description. |
| attributes | object | optional | Arbitrary tenant attributes used by attribute-based policies. |
/tenants/{tenantId}
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| tenantId | string | required | The Permit.io tenant id or key. |
/role_assignments
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| user | string | optional | Only return assignments for this user id or key. |
| role | string | optional | Only return assignments granting this role id or key. |
| tenant | string | optional | Only return assignments in this tenant id or key. |
| resource | string | optional | Only return assignments for this resource type. |
| resourceInstance | string | optional | Only return assignments for this resource instance. |
| detailed | boolean | optional | Whether to include full user, tenant, and role details. |
| page | integer | optional | The page number to retrieve, starting at 1. |
| perPage | integer | optional | The maximum number of records per page. |
/role_assignments
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| user | string | required | The user id or key receiving the role. |
| role | string | required | The role id or key to assign or remove. |
| tenant | string | optional | The tenant id or key that scopes the role. |
| resource_instance | string | optional | The resource instance id, or resource_type:resource_instance key, that scopes t… |
/role_assignments
| Param | Type | Required | Description |
|---|---|---|---|
| projectId | string | optional | The Permit.io project id or key. Required when the connected API key is not env… |
| environmentId | string | optional | The Permit.io environment id or key. Required when the connected API key is not… |
| user | string | required | The user id or key receiving the role. |
| role | string | required | The role id or key to assign or remove. |
| tenant | string | optional | The tenant id or key that scopes the role. |
| resource_instance | string | optional | The resource instance id, or resource_type:resource_instance key, that scopes t… |