Deel: Get the roles of the current organization — 200 response body — data item
Get the roles of the current organization.: 200 response body, field data / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Get the roles of the current organization — 200 response body — data item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
hrisOrgStructureId | JSON | Optional | |
hrisOrgStructureId (anyOf 1) | string | Alternative | The HRIS (Human Resource Information System) organization structure ID associated with the role, if applicable. |
hrisOrgStructureId (anyOf 2) | null | Alternative | The HRIS (Human Resource Information System) organization structure ID associated with the role, if applicable. |
id | JSON | Required within parent | |
id (anyOf 1) | number | Alternative | The unique identifier for the role. Format: double |
id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
name | string | Required within parent | The name of the role. |
scope | string | Required within parent | The scope of the role, which can define the level of access. For example, ‘ORGANIZATION’ represents a global role within the organization. |