---
title: "RoleAssignmentsByRoleId (Pipedrive)"
description: "\u5F79\u5272\u3054\u3068\u306E\u5F79\u5272\u5272\u308A\u5F53\u3066"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
updated: 2026-12-05T00:29:13Z
license: https://documentation.invantive.eu/ja/
---

# RoleAssignmentsByRoleId: Pipedrive Role Assignments by Role

`insert` `REST`

- カタログ：`Pipedrive`
- スキーマ: `Users`
- 主キー：`role_id, user_id`
- Label: Role Assignments by Role

`insert` を使用して、データの取得や変更を行うことができます。

## 概要

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

## APIソース

- エンドポイント: `/roles/{id}/assignments`

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `role_id` | `int64` | [x] |  | The role id. |

## 表の列

テーブル `RoleAssignmentsByRoleId` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | アクティブフラグ | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`active_flag` | Whether the role is active or not. |
| `name` | `varchar2` | 名前 | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`name` | The name of the role. |
| `parent_role_id` | `int64` | 親のロールID | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`parent_role_id` | The ID of the parent role. |
| `role_id` | `int64` | 役割ID | [x] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`role_id` | The role ID. |
| `type` | `varchar2` | タイプ | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`type` | The assignment type. |
| `user_id` | `int64` | ユーザーID | [x] | プラットフォーム上のフィルター、書き込み可能、`user_id` | The user ID. |
