E-Invoicing Endpoints

Delete a company

Changed on

Used to delete an onboarded company. DELETE operations are synchronous, contrary to POST ones.

delete/onboarding/v2/companies/{id}

Request

  • Base URL
    https://api-demo.fonoa.com
  • URL
    https://api-demo.fonoa.com/onboarding/v2/companies/{id}
  • Auth
    API key in header Ocp-Apim-Subscription-Key

Path parameters

idstring required

The identifier of the company

Response

Successful deletion response

status'success' | 'failed' | 'in-progress'
dataobject nullable
messagestring nullable

Example response

{
  "status": "success",
  "message": "The entity was successfully deleted."
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from string to object for status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new failed enum value to the response property for the response status

    • warning

      added the new in-progress enum value to the response property for the response status

    • warning

      added the new success enum value to the response property for the response status

    • info

      api operation id deleteCompany was added

    • info

      api tag E-Invoicing Endpoints added

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      the response's property default value The entity was successfully deleted. was added for the status

    • info

      the response's property default value success was added for the status