Method DeleteCustomButton
DeleteCustomButton(String, String)
Delete custom button
Declaration
void DeleteCustomButton(string connectionId, string customButtonId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | customButtonId | Id of custom button to delete. |
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteCustomButton
Example for delete custom button{
"connectionId": "467ade5d-bb7d-4a7f-8fc8-f3cfdde2fb31",
"customButtonId": "b1c3d536-a7f9-ea11-a0d3-00155d109000"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Custom button with id "{customButtonId}" does not exist (10241) |
ServiceException | Custom button with id "{customButtonId}" still has child custom buttons (10242) |