> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a review reply

> Delete the reply to a Google review; the review stays.

> [!NOTE]
>
> Needs `comments:delete`: reviews use the comments permissions. Your role in the location's workspace must also let you delete comments. See [Permissions](https://docs.postsyncer.com/essentials/authentication.md#permissions).

Deletes the review's reply on Google, then in PostSyncer, and gives the review back with no reply. The review itself stays. Works on every plan.

If Google refuses, the answer is `422` on `comment` with Google's reason, and nothing changes.

## Errors

| Status | `error` | When | Retry? |
| - | - | - | - |
| 401 | | No API key, or not a valid one. | No: fix the key. |
| 403 | | The key lacks `comments:delete`, or its user is inactive. | No: grant it in Settings → API. |
| 403 | | Your role in the location's workspace can't delete comments. | No. |
| 404 | | No review with that id on a location in the workspaces the key can reach. | No. |
| 422 | | The location must be reconnected, or Google refused. | No, unless the message says Google is limiting requests or couldn't be reached; then try again after a few minutes. Otherwise reconnect the location first. |
| 429 | | More than 60 requests a minute. | Yes, after `Retry-After` seconds. |

## Related

* [Reply to a review](https://docs.postsyncer.com/api-reference/reviews/reply.md): send a new reply.
* [Get a review](https://docs.postsyncer.com/api-reference/reviews/get.md): the review as it is now.


## OpenAPI

````yaml DELETE /reviews/{review}/reply
openapi: 3.0.3
info:
  title: PostSyncer API
  description: >-
    Post to 12 social networks from your code: posts, media, comments,
    analytics, webhooks and more.
  version: 1.0.0
servers:
  - url: https://postsyncer.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: The workspaces the key can reach.
  - name: Accounts
    description: Connected social accounts, links to connect more, and disconnecting them.
  - name: Posts
    description: Drafts, scheduled and published posts, approvals and a post's history.
  - name: Post settings
    description: A post's auto-plug, comment moderation and contact collection.
  - name: Media
    description: >-
      The media library: file uploads, URL imports, and reading videos and
      social posts' files.
  - name: Folders
    description: Folders that organise the media library.
  - name: Comments
    description: >-
      Comments on your posts: reading, replying, editing, hiding, deleting and
      syncing them.
  - name: Reviews
    description: Google Business Profile reviews and your replies to them.
  - name: Analytics
    description: Workspace, account and post performance.
  - name: Brand
    description: >-
      A workspace's brand: identity, voice, look, accounts, competitors,
      learnings and rules.
  - name: Labels
    description: Labels used to tag posts.
  - name: Campaigns
    description: Campaigns used to group posts.
  - name: Snippets
    description: Saved snippets and hashtag groups to drop into posts.
  - name: Webhooks
    description: Signed webhook endpoints that get your notification events.
paths:
  /reviews/{review}/reply:
    delete:
      tags:
        - Reviews
      summary: Delete a review reply
      description: >-
        Needs `comments:delete`. Reviews use the comments permissions, and your
        role in the location's workspace must also let you delete comments.
        Deletes your reply on Google, then in PostSyncer; the review stays. If
        Google refuses, the answer is `422` on `comment` with Google's reason,
        and nothing changes. Works on every plan.
      operationId: deleteReviewReply
      parameters:
        - name: review
          in: path
          required: true
          description: The review's id (`id` in a list).
          schema:
            type: integer
      responses:
        '200':
          description: The review, with no reply.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Review'
              examples:
                default:
                  summary: Reply deleted
                  value:
                    id: 6118
                    account_id: 304
                    location_title: Halden Coffee · Harbourside
                    reviewer_name: Jordan Example
                    reviewer_photo_url: null
                    star_rating: 3
                    comment: Lovely coffee, but the queue was long on Saturday.
                    media:
                      - thumbnail_url: >-
                          https://cdn.postsyncer.com/examples/review-queue-thumb.jpg
                        video_url: null
                        label: null
                    reviewed_at: '2030-03-09T11:20:00.000000Z'
                    reply_comment: null
                    reply_updated_at: null
                    reply_source: null
                    review_url: https://maps.google.com/?cid=4512345678901234567
        '401':
          $ref: '#/components/responses/Unauthorized401'
        '403':
          description: >-
            The key lacks `comments:delete`, its user is inactive, or your role
            can't delete comments.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_permission:
                  summary: The key lacks comments:delete
                  value:
                    message: >-
                      This API key does not have the "comments:delete"
                      permission. Edit the key in PostSyncer under Settings →
                      API to grant it.
                role:
                  summary: Your role can't delete comments
                  value:
                    message: >-
                      Your role in the workspace "Halden Coffee" does not allow
                      you to delete comments. Ask the workspace owner or a
                      manager to do it, or to change your role.
                inactive_account:
                  summary: The key's user is inactive
                  value:
                    message: Your account is inactive.
        '404':
          $ref: '#/components/responses/NotFound404'
        '422':
          description: The location must be reconnected, or Google refused.
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ValidationError'
                  - $ref: '#/components/schemas/Error'
              examples:
                reconnect:
                  summary: The location must be reconnected
                  value:
                    message: Reconnect this Google Business Profile location first.
                google_refused:
                  summary: 'Google refused: its own words'
                  value:
                    message: The caller does not have permission
                    errors:
                      comment:
                        - The caller does not have permission
                google_busy:
                  summary: Google is limiting requests
                  value:
                    message: >-
                      Google Business Profile is limiting requests right now
                      (HTTP 429). Nothing was changed: try again in a few
                      minutes.
                    errors:
                      comment:
                        - >-
                          Google Business Profile is limiting requests right now
                          (HTTP 429). Nothing was changed: try again in a few
                          minutes.
        '429':
          $ref: '#/components/responses/RateLimited429'
components:
  schemas:
    Review:
      type: object
      description: >-
        A Google review of a connected Google Business Profile location, with
        your reply when there is one.
      required:
        - id
        - account_id
        - location_title
        - reviewer_name
        - reviewer_photo_url
        - star_rating
        - comment
        - media
        - reviewed_at
        - reply_comment
        - reply_updated_at
        - reply_source
        - review_url
      properties:
        id:
          type: integer
          description: PostSyncer's id for the review.
        account_id:
          type: integer
          description: 'The location: a connected Google Business Profile account.'
        location_title:
          type: string
          nullable: true
          description: The location's name in PostSyncer.
        reviewer_name:
          type: string
          nullable: true
          description: The name Google shows.
        reviewer_photo_url:
          type: string
          nullable: true
        star_rating:
          type: integer
          nullable: true
          minimum: 1
          maximum: 5
          description: 1 to 5 stars; null when Google gives none.
        comment:
          type: string
          nullable: true
          description: The review's text; null for stars only.
        media:
          type: array
          description: Photos and videos the reviewer added.
          items:
            type: object
            required:
              - thumbnail_url
              - video_url
              - label
            properties:
              thumbnail_url:
                type: string
                nullable: true
              video_url:
                type: string
                nullable: true
                description: Set on a video.
              label:
                type: string
                nullable: true
        reviewed_at:
          type: string
          format: date-time
          nullable: true
          description: When it was written, UTC.
        reply_comment:
          type: string
          nullable: true
          description: Your reply; null when there is none.
        reply_updated_at:
          type: string
          format: date-time
          nullable: true
          description: When the reply was written or last changed, UTC.
        reply_source:
          type: string
          nullable: true
          enum:
            - postsyncer
            - google
            - null
          description: >-
            `postsyncer` when the reply was sent from PostSyncer, `google` when
            it was written in Google; null with no reply.
        review_url:
          type: string
          nullable: true
          description: The location on Google Maps, where its reviews are.
    Error:
      type: object
      description: >-
        An error answer. Every one has `message`, in plain words; some add an
        `error` code and fields of their own.
      required:
        - message
      properties:
        message:
          type: string
          description: What went wrong and what to do about it.
    ValidationError:
      type: object
      description: '422: the request didn''t pass validation, and nothing changed.'
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: >-
            The first error and, when there are more, how many: `(and 1 more
            error)`, `(and 2 more errors)`.
        errors:
          type: object
          description: >-
            The messages, by field. A field inside a list is named with dots:
            `accounts.0.id`.
          additionalProperties:
            type: array
            items:
              type: string
  responses:
    Unauthorized401:
      description: No API key, or not a valid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unauthenticated:
              summary: No valid API key
              value:
                message: Unauthenticated.
    NotFound404:
      description: Nothing with that id in the workspaces the key can reach.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            not_found:
              summary: Not found
              value:
                message: Not found.
    RateLimited429:
      description: >-
        More than 60 requests in a minute from this key's user (the API and the
        MCP server share the count). Wait `Retry-After` seconds.
      headers:
        Retry-After:
          description: Seconds until requests are allowed again.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests allowed a minute.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left this minute.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: When requests are allowed again, as a Unix timestamp.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            too_many_attempts:
              summary: Too many requests
              value:
                message: Too Many Attempts.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.