---
title: "Roles (Pipedrive)"
description: "\u5F79\u5272"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/pipedrive/Pipedrive.Users.Roles
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.Roles
updated: 2026-12-04T19:34:10Z
license: https://documentation.invantive.eu/ja/
---

# Roles: Pipedrive Roles

`insert` `update` `delete` `REST`

- カタログ：`Pipedrive`
- スキーマ: `Users`
- 主キー：`id`
- ラベル: ロール

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

## 概要

The roles users can have. Each request costs 20 tokens of the daily budget of the company.

## APIソース

- エンドポイント: `/roles`

## 表の列

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

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | アクティブフラグ | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`active_flag` | Whether the role is active or not. |
| `assignment_count` | `varchar2` | 課題数 | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`assignment_count` | The number of users assigned to this role. |
| `id` | `int64` | ID | [x] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`id` | The ID of the role. |
| `level` | `int64` | レベル | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`level` | The level of role in the role hierarchy. |
| `name` | `varchar2` | 名前 | [ ] | プラットフォーム上のフィルター、書き込み可能、`name` | The name of the role. |
| `parent_role_id` | `int64` | 親のロールID | [ ] | プラットフォーム上のフィルター、書き込み可能、`parent_role_id` | The ID of the parent role. |
| `sub_role_count` | `varchar2` | サブロールの数 | [ ] | プラットフォーム上でフィルタ可能、書き込み可能、計算列、`sub_role_count` | The number of sub-roles. |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `Roles_parent_role_id_fk` | `parent_role_id` | [Roles](Pipedrive.Users.Roles)`.id` | キー |  |

## 参照元

- [CurrentUsers](Pipedrive.Users.CurrentUsers) `role_id` (Key)
- [Roles](Pipedrive.Users.Roles) `parent_role_id` (Key)
- [ユーザー](Pipedrive.Users.Users) `role_id` (キー)
