Snapvisor Docs

Cancel review requests on a build

Cancel the review requests standing on a build. Removing a user that was not requested is a no-op. Use it when a review request is no longer needed.

DELETE
/projects/{owner}/{project}/builds/{buildNumber}/reviewers

Cancel the review requests standing on a build. Removing a user that was not requested is a no-op. Use it when a review request is no longer needed.

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/projects/string/string/builds/string/reviewers" \  -H "Content-Type: application/json" \  -d '{    "userIds": [      "string"    ]  }'
{  "reviewers": [    {      "id": "string",      "slug": "string",      "name": "string"    }  ]}