Deel: Create organization custom role — 200 response body
Create organization custom role.: 200 response body. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Create organization custom role — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
description | string | Optional | Organization role description |
hrisOrgStructureId | string | Optional | HRIS organization structure id |
id | JSON | Optional | |
id (anyOf 1) | number | Alternative | Organization role id Format: double |
id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
name | string | Optional | Organization role name |
permissionSets | array | Optional | |
permissionSets[] | string | Each item | |
scope | string | Optional | Organization role scope |