DELETE restapi/personal/pages/{elementId}/contentblocks/v1

Permanently delete content blocks from the trashcan. This action cannot be undone.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
elementId

The unique identifier of the page element

integer

Required

Body Parameters

The request containing the content block IDs to permanently delete

Itsolutions.Itslearning.Web.RestApi.Personal.Page.Requests.PermanentlyDeleteContentBlocksRequestUI
NameDescriptionTypeAdditional information
ContentBlockIds

The list of content block IDs to be permanently deleted.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "contentBlockIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<PermanentlyDeleteContentBlocksRequestUI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itsolutions.Itslearning.Web.RestApi.Personal.Page.Requests">
  <ContentBlockIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ContentBlockIds>
</PermanentlyDeleteContentBlocksRequestUI>

application/x-www-form-urlencoded

Sample:
No sample available

Response Information

Resource Description

Success response if the deletion completes successfully

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.