REST API - Close Review Request
4 min
api/v1/projects/{projectid}/reviews/{artifactid}/close description closes the review by project id and artifact id url structure \[blueprint uri]/api/v1/projects/{projectid}/reviews/{artifactid}/close projectid the id of the project that contains the review you want to close artifactid the id of the review artifact you want to close supported methods patch docid\ rcjvhrlby6de zgkehxui you can override the patch method docid\ rcjvhrlby6de zgkehxui and use the post docid\ hsi lzxs8g rx ydudzkg method instead http status codes 200 ok 400 bad request this error can occur for a variety of reasons the review cannot be closed due to concurrency calls at least one uri or request body parameter is invalid, such as one of the filter docid\ sv9gjverxczcgqdn28j7u , traces, offset or limit parameters a required value has not been provided if you are submitting a post docid\ hsi lzxs8g rx ydudzkg or patch docid\ rcjvhrlby6de zgkehxui request and have not added the x http method override parameter to your request header 401 unauthorized the blueprint token is missing, invalid or expired 403 forbidden the applicable permissions are needed for example, this error can occur when you do not have edit permissions for the review 404 notfound item is not found in the project for example, this error can occur when the requested project is not found the requested review is not found 409 conflict the review is locked by another user the review status is draft the review status is closed the review has validation errors and cannot be published the review has dependent artifacts to publish the reason for the failure can be found in the response body additional information may also be found in the log 500 internal server error