Smartsheet.Api.Internal.SheetDiscussionResourcesImpl.DeleteDiscussion C# (CSharp) Method

DeleteDiscussion() public method

Delete a discussion

It mirrors To the following Smartsheet REST API method: DELETE /sheets/{sheetId}/discussions/{discussionId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public DeleteDiscussion ( long sheetId, long discussionId ) : void
sheetId long the sheetId
discussionId long the discussionId
return void
        public virtual void DeleteDiscussion(long sheetId, long discussionId)
        {
            this.DeleteResource<Discussion>("sheets/" + sheetId + "/discussions/" + discussionId, typeof(Discussion));
        }