PATCH
/
v1
/
organizations
/
{org_id}
/
repos
/
{repo_id}
/
prs
/
{pr_id}
Edit Pull Request
curl --request PATCH \
  --url https://api.codegen.com/v1/organizations/{org_id}/repos/{repo_id}/prs/{pr_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "state": "open"
}'
{
  "success": true,
  "url": "<string>",
  "number": 123,
  "title": "<string>",
  "state": "<string>",
  "error": "<string>"
}

Headers

authorization
any

Path Parameters

org_id
integer
required
repo_id
integer
required
pr_id
integer
required

Body

application/json

Input for editing PR properties.

Response

200
application/json

Successful Response

Response from editing PR properties.