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
| Field | Type | Description |
|---|---|---|
| id | Number | Unique identifier of the web-part instance. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |
Error example:
HTTP/1.1 404 Not found{"response": {"errorCode": 350,"errorMessage": "Web-part not found."}}