Skip to main content

Withdraw Purchase Order Approval Request

DELETE 

/api/purchase-orders/:purchase_order/approval-request

Withdraw a pending approval request, returning the purchase order to the not-requested state. Only the user who requested approval (or an admin) can withdraw it.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Requires permission: purchase_orders.update

Approval policy: While the purchase-order approval policy is enabled, a request that already has an approval cannot be withdrawn (409 approval_state_conflict); only the requester or an administrator can withdraw (403 approval_withdraw_forbidden).

Request​

Responses​

OK

Response Headers
    Content-Type