Get custom sections for editing
/api/crm/v2/team.edit_permission_sections_customv2team.editPermissionSectionsCustomAuthorization
api-token + language + role
Query parameters
User ID; the role is determined by it
Example: 1
Responses
OK
Values:successerror
Example: success
Default role sections
Example: 572
Example: 112
Example: false
Example: branches
User custom sections
Example: 572
Example: 112
Example: false
Example: branches
Access expiration date in UTC; null means unlimited. Expired records are deleted automatically.
Example: 2024-05-02 08:31:16
Sections that the editor can select: the default sections of the editable role, as well as the editor's default and custom sections
Example: 1
Example: items
Example: Items
Values:folderpagelink
Example: page
For type page only: the section exists as an API endpoint and is not displayed in the sidebar menu. Access is granted and checked as for a regular page, so the section remains in the role and user permission directories.
Example: false
Example: 1
Example: 1
Example: 1
Example: -1714739780
Example: ru
Condition under which the section is displayed
Example: 2
Section actions
Example: 1
Example: 62
Example: 1
Example: view
Example: view