Snapvisor Docs

Dismiss a submitted review on a build

Dismiss a previously submitted review on a build, clearing its effect on the build's review status.

POST
/projects/{owner}/{project}/builds/{buildNumber}/reviews/{reviewId}/dismiss

Dismiss a previously submitted review on a build, clearing its effect on the build's review status.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

owner*string
Length1 <= length
project*string
Length1 <= length
buildNumber*string

The build number

reviewId*string

The ID of the review

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/string/builds/string/reviews/string/dismiss"
{  "id": "string",  "buildId": "string",  "state": "approved",  "user": {    "id": "string",    "slug": "string",    "name": "string"  },  "dismissedAt": "string",  "dismissedBy": {    "id": "string",    "slug": "string",    "name": "string"  },  "date": "string"}