Skip to main content
DELETE
Cancel Formation

Cancel Company Formation

This endpoint allows you to cancel a company formation that is in progress. The formation can be canceled using either the company ID or the external ID provided during creation.

Headers

Path Parameters

Parameter Examples

  • Company ID: 64b8f1a2e4b0c8d9f0123456
  • External ID: your-unique-id-123

Response

Success Response (200)

Response Parameters

Error Responses

Invalid Request - Bad ID Parameter (400)

Unauthorized - Invalid API Key (401)

Formation Not Found (404)

Internal Server Error (500)

Notes

  • Only formations that are not yet completed can be canceled
  • Once a formation is canceled, it cannot be resumed
  • Any fees paid may be subject to the refund policy
  • The formation status will be updated to cancelled

Authorizations

X-API-Key
string
header
required

Formation API key for authentication.

Path Parameters

id
string
required

Company ID (ObjectID) or External ID

Maximum string length: 64
Example:

"64b8f1a2e4b0c8d9f0123456"

Response

Formation cancelled successfully

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object | null

Response data for successful requests

error
object | null

Error details for failed requests