FousDocs

Cancel a build

Cancel an unfinished build in your organization.

POST/v1/builds/{build_id}/cancel

Requires Authorization: Bearer $FOUS_API_KEY. Create a key.

Path parameters

  • build_idstringrequired

Response 200

Success

  • successtruerequired
  • dataBuildrequired

    A build: from queued through exploring, compiling, verifying and publishing to ready, failed or cancelled. Once ready, api names the tool and method its operation; prepared_request carries an input the builder verified it with.

Errors

Every failure is an Error: branch on error.code. The errors guide lists each code.

  • 400
  • 401WWW-Authenticate
  • 402
  • 403
  • 404
  • 408
  • 409
  • 410
  • 413
  • 422
  • 429Retry-After
  • 500
  • 502
  • 503Retry-After
  • 504