---
updatedAt: 2026-06-01T16:03:30.000Z
agentTools:
  projectIndex: https://developers.smartrecruiters.com/llms.txt
---

# Deletes a review

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "description": "Reviews Public API",
    "version": "1.0.0",
    "title": "Reviews",
    "contact": {
      "name": "SmartRecruiters",
      "url": "https://developers.smartrecruiters.com"
    }
  },
  "tags": [
    {
      "name": "reviews",
      "description": "API to manage reviews"
    }
  ],
  "paths": {
    "/reviews/{reviewId}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/ReviewId"
        }
      ],
      "delete": {
        "parameters": [
          {
            "$ref": "#/components/parameters/ReviewerId"
          }
        ],
        "responses": {
          "204": {
            "description": "Review was deleted"
          },
          "400": {
            "description": "with codes:\n* **INVALID_SOURCE** when review source is invalid\n* **INVALID_REVIEW_ID** when review id is invalid\n* **INVALID_REVIEWER_ID** when review id or employee id is invalid\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "with codes:\n* **NOT_AUTHORIZED_TO_ACCESS_RESOURCE** when caller is not authorized to access resource\n* **REVIEWER_NOT_AUTHORIZED_TO_ACCESS_RESOURCE** when reviewer is not authorized to access resource\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden to retreive a review",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "with codes:\n* **REVIEW_NOT_FOUND** when no review with given id is found\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "When input validation fails or with codes:\n* **NON_EXISTING_REVIEWER** when reviewer does not exist\n* **INACTIVE_OR_DELETED_REVIEWER** when reviewer is inactive or deleted\n* **REVIEWER_ID_DOES_NOT_MATCH** when reviewer id does not match reviewer id in review\n"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "tags": [
          "reviews"
        ],
        "summary": "Deletes a review",
        "operationId": "reviews.delete",
        "security": [
          {
            "key": []
          },
          {
            "oauth": [
              "reviews_write"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "ReviewId": {
        "in": "path",
        "name": "reviewId",
        "description": "ID of the review",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Uuid"
        }
      },
      "ReviewerId": {
        "in": "query",
        "name": "reviewerId",
        "description": "ID of the reviewer",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/UserId"
        }
      }
    },
    "responses": {
      "ServerError": {
        "description": "Unexpected error"
      }
    },
    "schemas": {
      "Uuid": {
        "type": "string",
        "format": "guid",
        "readOnly": true
      },
      "UserId": {
        "type": "string",
        "pattern": "[a-fA-F0-9]{24}"
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "key": {
        "type": "apiKey",
        "in": "header",
        "name": "x-smarttoken"
      },
      "oauth": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://www.smartrecruiters.com/identity/oauth/allow",
            "tokenUrl": "https://api.smartrecruiters.com/identity/oauth/token",
            "scopes": {
              "reviews_read": "Access Reviews",
              "reviews_write": "Create, update and delete Reviews",
              "jobs_read": "Access Jobs"
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.smartrecruiters.com/reviews-api/v201910"
    }
  ]
}
```