admin-comments
admin

Hide or restore a comment

Changed on
patch/admin/comments/{id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/admin/comments/{id}
  • Auth: API key in cookie evelogin

Request body

action'hide' | 'restore' | 'hidden' | 'published' required

Response

OK

okboolean required

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property became required

    • breaking

      the request property type changed from no type to string

    • info

      added the new hidden enum value to the request property

    • info

      added the new hide enum value to the request property

    • info

      added the new published enum value to the request property

    • info

      added the new restore enum value to the request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      added required request body