# Delete a Plan Deletes plan with the given id. Deleting a plan won't impact the existing and historic attachments for this plan. They will continue to work as expected. Endpoint: DELETE /v3/plans/{planId} Version: 1.0.0 Security: ApiKeyAuth ## Path parameters: - `planId` (string, required) ## Response 200 fields (application/json): - `error` (boolean) Indicates if an error occurred. - `message` (string) A message indicating the result of the operation. Example: "Plan deleted successfully" ## Response 401 fields (application/json): - `error` (boolean, required) A boolean indicating whether there was an error in the request Example: true - `message` (string, required) A message indicating the reason for the unauthorized delete response Example: "Cannot delete a subscription whose esim was installed on a device"