--- title: Get a list of department roles description: GET /nd/api/enterprise/dep_role: Get the department role list interface description, including path, method, parameters and return information. slug: api-get-nd-api-enterprise-dep-role lang: en category: Enterprise API category_order: 8 order: 143 api_method: GET api_path: /nd/api/enterprise/dep_role api_label: Get a list of department roles keywords: - API - Get a list of department roles - /nd/api/enterprise/dep_role --- # Get Department Roles | Property | Value | | --- | --- | | Method | `GET` | | Path | `/nd/api/enterprise/dep_role` | | Authentication | `Authorization: Bearer ` | Retrieves department roles within the authorized context. The source document does not list specific URL parameters; confirm enterprise and permission context against the token and deployment rules. ## Response Fields | Field | Type | Description | | --- | --- | --- | | `roles` | array | Source lists `id`, `enterpriseId`, `filePermission`, `managerPermission`, `default`, `nameEn`, `name` | | `code` | int | Business status | | Success indicator | boolean | Source spells this `sucess`, unlike `success` in other endpoints; verify the actual response before integration | The source repeats `filePermission`; it is shown once here. Do not invent undocumented permission-field schemas or enum values. Reading a role definition does not grant the caller that role. See [Get Token](api-post-api-token-do.md).