Roles: Pipedrive Roles
insert update delete REST
- Catalog:
Pipedrive - Schema:
Users - Primary Keys:
id - Label: Roles
Can retrieve data and change data using insert, update and delete.
Summary
The roles users can have. Each request costs 20 tokens of the daily budget of the company.
API Source
- Endpoint:
/roles
Table Columns
The columns of the table Roles are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
active_ |
char |
Active Flag | filters on the platform, writable, computed, active_ |
Whether the role is active or not. | |
assignment_ |
varchar2 |
Assignment Count | filters on the platform, writable, computed, assignment_ |
The number of users assigned to this role. | |
id |
int64 |
ID | filters on the platform, writable, computed, id |
The ID of the role. | |
level |
int64 |
Level | filters on the platform, writable, computed, level |
The level of role in the role hierarchy. | |
name |
varchar2 |
Name | filters on the platform, writable, name |
The name of the role. | |
parent_ |
int64 |
Parent Role ID | filters on the platform, writable, parent_ |
The ID of the parent role. | |
sub_ |
varchar2 |
Sub Role Count | filters on the platform, writable, computed, sub_ |
The number of sub-roles. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Roles_ |
parent_ |
Roles.id |
Key |
Referenced By
- CurrentUsers
role_id(Key) - Roles
parent_role_id(Key) - Users
role_id(Key)