Was this page helpful?

DELETE:pages/{pageid}/comments/{commentnumber}

    Overview

    public. Mark a comment as being deleted. This hides comment content from non admins

    Uri Parameters
    NameTypeDescription
    commentnumberintidentifies the comment on the page
    pageidstringeither an integer page ID, "home", or "=" followed by a double uri-encoded page title
    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter or request body
    Forbidden403Administrator access or comment author is required
    NotFound404The requested comment could not be found
    Ok200The request completed successfully

    Message Format

    None

    Implementation Notes

    Use GET:pages/{pageid}/comments to retrieve a list of comments on a specified page.

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by