Deleting Question Options

Use this method to delete a question option.

Method Info
Url https://www.payit2.com/api/v1/collect-page/{CollectPageId}/question/{QuestionId}/option/{Id}
Verb DELETE
Headers X-PayItSquare-AppKey, X-PayItSquare-Token
{CollectPageId} The id of the collect page.
{QuestionId} The id of the question.
{Id} The id of the option.
Method Info
Url https://www.payit2.com/api/v1/collect-page/{CollectPageId}/question/{QuestionId}/option/{Id}/delete
Verb POST
Headers X-PayItSquare-AppKey, X-PayItSquare-Token
{CollectPageId} The id of the collect page.
{QuestionId} The id of the question.
{Id} The id of the option.
Output
Property Data Type Other Info
IsSuccess Boolean Indicates if the call was successful or not.
Messages String Array Will contain a list of error messages if IsSuccess is false
Sample Success Response
{
  "IsSuccess": true,
  "Messages": []
}    
Sample Error Response
{
  "IsSuccess": false,
  "Messages": [
    "Error Message 1",
    "Error Message 2"
  ]
}