System - Reset web-part properties

API Url

Used for reseting web-part properties to defaults.

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

Permissions: user

Path parameters

FieldTypeDescription
idNumber

Unique identifier of the web-part instance.

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

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."
}
}