Update a pull request

View as Markdown
Updates an open pull request.

Authentication

x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

pullRequestIdstringRequired
The pull request's ID.

Request

This endpoint expects an object.
titlestringRequired
The pull request's updated title.
reviewerslist of stringsRequired
An updated list of the pull request's assigned reviewers. This replaces all existing users assigned to the pull request with those you pass in the request body.
descriptionstringOptional
The updated pull request description.

Response

Successful Response
createdAtdatetime
The date and time at which the pull request was created.
createdBystring
The ID of the user who created the pull request.
descriptionstring
The pull request's description.
destinationIdstringformat: "uid"
The pull request's merge destination ID.
forkTypestring
The type of forked element.
idstring
The pull request's ID.
sourceIdstringformat: "uid"
The unique ID of the source element.
statusenum
The pull request's status.
titlestring
The pull request's title.
updatedAtdatetime
The date and time at which the pull request was updated.

Errors

403
Forbidden Error
409
Conflict Error
500
Internal Server Error