---
title: "RoleAssignmentsByRoleId (Pipedrive)"
description: "Role Assignments by Role"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
updated: 2026-11-01T16:22:11Z
license: https://documentation.invantive.eu/en/
---

# RoleAssignmentsByRoleId: Pipedrive Role Assignments by Role

`insert` `REST`

- Catalog: `Pipedrive`
- Schema: `Users`
- Primary Keys: `role_id, user_id`
- Label: Role Assignments by Role

Can retrieve data and change data using `insert`.

## Summary

The users assigned to one role. Each request costs 10 tokens of the daily budget of the company.

## API Source

- Endpoint: `/roles/{id}/assignments`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `role_id` | `int64` | [x] |  | The role id. |

## Table Columns

The columns of the table `RoleAssignmentsByRoleId` 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_flag` | `char` | Active Flag | [ ] | filters on the platform, writable, computed, `active_flag` | Whether the role is active or not. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, computed, `name` | The name of the role. |
| `parent_role_id` | `int64` | Parent Role ID | [ ] | filters on the platform, writable, computed, `parent_role_id` | The ID of the parent role. |
| `role_id` | `int64` | Role ID | [x] | filters on the platform, writable, computed, `role_id` | The role ID. |
| `type` | `varchar2` | Type | [ ] | filters on the platform, writable, computed, `type` | The assignment type. |
| `user_id` | `int64` | User ID | [x] | filters on the platform, writable, `user_id` | The user ID. |

