System - Delete web-part

API Url

Used for deleting a specific web-part instance according to the unique identifier.

DELETE
http://localhost:16010/ProMarkREST/rest/System/webparts/{id}

Permissions: user

Path parameters

FieldTypeDescription
idNumber

Unique identifier of the web-part instance.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"warning""info"

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.

Error example:

HTTP/1.1 404 Not found
{
"response": {
"errorCode": 350,
"errorMessage": "Web-part not found."
}
}