POST
/
v1
/
organizations
/
{org_id}
/
agent
/
run
/
remove-from-pr
Remove Codegen From Pr
curl --request POST \
  --url https://api.codegen.com/v1/organizations/{org_id}/agent/run/remove-from-pr \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_run_id": 123,
  "before_card_order_id": "<string>",
  "after_card_order_id": "<string>"
}'
"<any>"

Headers

authorization
any

Path Parameters

org_id
integer
required

Body

application/json
agent_run_id
integer
required
before_card_order_id
string | null

Kanban order key of the card that should come before this agent run in the CANCELLED column

after_card_order_id
string | null

Kanban order key of the card that should come after this agent run in the CANCELLED column

Response

Successful Response

The response is of type any.