lists.section.delete
Scope: catalog Permissions to execute: for all
lists.section.delete( params )
The method deletes a list section. Returns true on success, otherwise returns Exception.
Parameters
Parameter | Description | Available from version |
---|---|---|
IBLOCK_TYPE_ID | Type of information block ID (required). Possible values:
| |
IBLOCK_CODE/IBLOCK_ID | Code or ID for information block (required). | |
SECTION_CODE/SECTION_ID | Code or ID for section (required). | |
SOCNET_GROUP_ID | group ID (required, for created group list); |
Example
/* lists.section.delete */ var params = { 'IBLOCK_TYPE_ID': 'lists', 'IBLOCK_CODE': 'rest_1', 'SECTION_CODE': 'Section_code_1' }; BX.rest.callMethod( 'lists.section.delete', params, function(result) { if(result.error()) alert("Error: " + result.error()); else console.log(result.data()); } );
© «Bitrix24», 2001-2024