auto_write

Withdraw a pending request this app no longer needs.

Closes the request as withdrawn and clears it from the merchant's screen. No event is emitted: the app that withdrew already knows. A request that was decided or expired first answers 409 already_closed with its status. Only the requesting app can withdraw.

post/api/v1/approvals/withdraw

Request

  • Base URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/approvals/withdraw
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: automation:write)

Request body

approval_idstring uuid required

The id approval_submit returned.

reasonstring

Response

Result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.